Add .gitignore and update README with fixed issues and new commands

- Created .gitignore to exclude build outputs and temporary files.
- Updated README to document fixes for dependency issues and added commands for generating encryption keys and running the development server.
This commit is contained in:
Philip Henning 2025-07-04 13:13:34 +02:00
parent 8de81ea2ab
commit 8ebc71193f
3 changed files with 163 additions and 46 deletions

View file

@ -146,8 +146,25 @@ nix build
# Test the service
nix run .#bitpoll-manage -- check
# Generate encryption key
nix run .#bitpoll-manage -- generate_encryption_key
# Run development server (requires database setup first)
nix run . -- 127.0.0.1:8000
```
## Fixed Issues
This flake has been updated to resolve dependency issues:
- ✅ **Django Import Error**: Fixed missing Django module by using proper Python environment
- ✅ **Missing Dependencies**: Added all required Django packages via pip installation
- ✅ **Python Path**: Corrected PYTHONPATH to include pip-installed packages
- ✅ **Encryption Keys**: Proper Fernet key generation support
The package now successfully passes system checks and can run bitpoll commands.
## Dependencies
This flake includes all necessary dependencies: