add var to gitignore and update README with dev setup instructions
This commit is contained in:
parent
a154447531
commit
37b10f6879
2
.gitignore
vendored
2
.gitignore
vendored
@ -28,7 +28,7 @@ eggs/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
#var/
|
||||
var/
|
||||
wheels/
|
||||
pip-wheel-metadata/
|
||||
share/python-wheels/
|
||||
|
22
README.md
22
README.md
@ -1,14 +1,26 @@
|
||||
# flaskapp
|
||||
# Task Manager
|
||||
|
||||
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/
|
||||
make
|
||||
sudo apt install ./flaskapp.deb
|
||||
make
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user