2024-01-18 01:04:32 +00:00
|
|
|
# Task Manager
|
2023-10-20 13:20:56 +00:00
|
|
|
|
2024-01-16 12:24:45 +00:00
|
|
|
Interactive TODO list web application
|
2024-01-17 14:12:42 +00:00
|
|
|
|
2024-01-18 00:58:03 +00:00
|
|
|
# Development Setup
|
2024-01-17 14:12:42 +00:00
|
|
|
|
2024-01-18 01:04:32 +00:00
|
|
|
Install python and pip on local machine
|
2024-01-17 14:12:42 +00:00
|
|
|
|
2024-01-18 00:58:03 +00:00
|
|
|
```bash
|
|
|
|
pip install virtualenv
|
|
|
|
python -m venv venv #/path/to/new/virtual/environment
|
|
|
|
source venv/bin/activate #activate virtual env
|
2024-01-21 12:16:44 +00:00
|
|
|
pip install -r requirments.txt
|
2024-01-18 00:58:03 +00:00
|
|
|
python3 ./init_db.py #initialize database
|
|
|
|
|
2024-01-18 01:04:32 +00:00
|
|
|
python3 ./run.py #run project
|
2024-01-18 00:58:03 +00:00
|
|
|
```
|
|
|
|
|
2024-01-21 12:16:44 +00:00
|
|
|
# On database changes
|
|
|
|
|
|
|
|
Delete file `/instance/taskmanager.db`
|
|
|
|
And reinit the db
|
|
|
|
|
|
|
|
```shell
|
|
|
|
python3 ./init_db.py
|
|
|
|
```
|
|
|
|
|
2024-01-18 00:58:03 +00:00
|
|
|
# Build app
|
2024-01-17 14:12:42 +00:00
|
|
|
|
2024-01-18 01:04:32 +00:00
|
|
|
```bash
|
2024-01-17 14:12:42 +00:00
|
|
|
cd build-deb/
|
2024-01-18 01:04:32 +00:00
|
|
|
make
|
|
|
|
```
|
2024-01-17 14:12:42 +00:00
|
|
|
|
2024-01-18 11:37:07 +00:00
|
|
|
# Install app
|
|
|
|
|
|
|
|
```bash
|
|
|
|
apt install ./build-deb/taskmanager.deb
|
|
|
|
```
|