2024-01-18 11:34:49 +00:00
|
|
|
# Task Manager
|
2023-10-20 13:20:56 +00:00
|
|
|
|
|
|
|
Web app
|
|
|
|
|
2024-01-18 11:34:49 +00:00
|
|
|
# Development Setup
|
2024-01-17 14:07:32 +00:00
|
|
|
|
2024-01-18 11:34:49 +00:00
|
|
|
Install python and pip on local machine
|
2024-01-17 14:07:32 +00:00
|
|
|
|
2024-01-18 11:34:49 +00:00
|
|
|
```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
|
2024-01-17 14:07:32 +00:00
|
|
|
|
2024-01-18 11:34:49 +00:00
|
|
|
python3 ./run.py #run project
|
|
|
|
```
|
|
|
|
|
|
|
|
# Build app
|
|
|
|
|
|
|
|
```bash
|
2024-01-17 14:07:32 +00:00
|
|
|
cd build-deb/
|
2024-01-18 11:34:49 +00:00
|
|
|
make
|
|
|
|
```
|
2024-01-17 14:07:32 +00:00
|
|
|
|
2024-01-18 11:38:03 +00:00
|
|
|
# Build app
|
|
|
|
|
|
|
|
```bash
|
|
|
|
sudo apt install ./flaskapp.deb
|
|
|
|
```
|