refactor: Convert to UV Python project with proper package structure
- Restructured project to use src/stocktool package layout - Migrated to UV for dependency management - Added pyproject.toml with all dependencies (sv-ttk, pillow, requests, pyyaml) - Organized test files into tests/ directory - Updated .gitignore for UV projects - Comprehensive README with installation and usage instructions - Removed old unused files (main.py, stock_tool_gui.py, duplicate copy) - Added CLI entry point: stock-tool command 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
58
PUSH_TO_GITEA.txt
Normal file
58
PUSH_TO_GITEA.txt
Normal file
@@ -0,0 +1,58 @@
|
||||
================================================================================
|
||||
QUICK START: Push to Gitea
|
||||
================================================================================
|
||||
|
||||
Your repository is initialized and ready! Here's what to do:
|
||||
|
||||
1. CREATE REPOSITORY ON GITEA
|
||||
- Go to your Gitea instance
|
||||
- Click "New Repository"
|
||||
- Name: inventree-stock-tool (or your choice)
|
||||
- Do NOT initialize with README (we already have one)
|
||||
- Click "Create Repository"
|
||||
|
||||
2. ADD GITEA REMOTE
|
||||
Gitea will show you a URL like:
|
||||
https://gitea.yourcompany.com/username/inventree-stock-tool.git
|
||||
|
||||
Run this command (replace with your actual URL):
|
||||
|
||||
cd "C:\Users\berwn\Desktop\barcodes\stocktool"
|
||||
git remote add origin https://gitea.yourcompany.com/username/inventree-stock-tool.git
|
||||
|
||||
3. PUSH TO GITEA
|
||||
|
||||
git push -u origin master
|
||||
|
||||
Enter your Gitea username and password when prompted.
|
||||
|
||||
4. VERIFY
|
||||
Open your Gitea repository in a browser - you should see all files!
|
||||
|
||||
================================================================================
|
||||
Current Repository Status
|
||||
================================================================================
|
||||
|
||||
Location: C:\Users\berwn\Desktop\barcodes\stocktool
|
||||
Branch: master
|
||||
Commits: 2
|
||||
|
||||
Files tracked:
|
||||
- stock_tool_gui_v2.py (main application)
|
||||
- README.md (documentation)
|
||||
- FIXES_APPLIED.md (bug fix details)
|
||||
- GITEA_SETUP.md (detailed instructions)
|
||||
- example_config.yaml (config template)
|
||||
- .gitignore (git configuration)
|
||||
- test_*.py (4 test files)
|
||||
|
||||
Files excluded (in .gitignore):
|
||||
- *.yaml (except example_config.yaml) - protects credentials
|
||||
- __pycache__/
|
||||
- *.pyc
|
||||
- Virtual environments
|
||||
- IDE files
|
||||
|
||||
================================================================================
|
||||
For detailed instructions, see: GITEA_SETUP.md
|
||||
================================================================================
|
||||
Reference in New Issue
Block a user