add var to gitignore and update README with dev setup instructions

This commit is contained in:
fram3d 2024-01-18 12:34:49 +01:00
parent a154447531
commit 37b10f6879
Signed by: fram3d
GPG Key ID: 938920E709EEA32A
2 changed files with 18 additions and 6 deletions

2
.gitignore vendored
View File

@ -28,7 +28,7 @@ eggs/
lib64/ lib64/
parts/ parts/
sdist/ sdist/
#var/ var/
wheels/ wheels/
pip-wheel-metadata/ pip-wheel-metadata/
share/python-wheels/ share/python-wheels/

View File

@ -1,14 +1,26 @@
# flaskapp # Task Manager
Web app Web app
# Use # Development Setup
python3 ./run.py Install python and pip on local machine
# Install ```bash
pip install virtualenv
python -m venv venv #/path/to/new/virtual/environment
source venv/bin/activate #activate virtual env
pip install -r requirements.txt
python3 ./init_db.py #initialize database
python3 ./run.py #run project
```
# Build app
```bash
cd build-deb/ cd build-deb/
make
sudo apt install ./flaskapp.deb sudo apt install ./flaskapp.deb
make
```