From 37b10f6879fb47b355791f8476a88ce374bb706b Mon Sep 17 00:00:00 2001 From: fram3d Date: Thu, 18 Jan 2024 12:34:49 +0100 Subject: [PATCH] add var to gitignore and update README with dev setup instructions --- .gitignore | 2 +- README.md | 22 +++++++++++++++++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 0e651ec..f0d274d 100644 --- a/.gitignore +++ b/.gitignore @@ -28,7 +28,7 @@ eggs/ lib64/ parts/ sdist/ -#var/ +var/ wheels/ pip-wheel-metadata/ share/python-wheels/ diff --git a/README.md b/README.md index 8e4d90b..af7d9b9 100644 --- a/README.md +++ b/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 +```