A todo app using Flask with SQLite Database.
Below are the steps required to deploy this on a Linux based O.S.
- Install all required dependencies
- Install and configure the web server
- Start the web server
Python and its dependencies
apt-get install -y python python-setuptools python-dev build-essential python-pip
Install Python Flask dependency
pip install -r requirements.txt
- Copy app.py or download it from source repository
- Copy /templates directory or download it from source repository
- Configure database by copying the /instances directory
Start web server
FLASK_APP=app.py flask run --host=0.0.0.0
Open a browser and go to URL
http://:5000 => Homepage
docker run -p :5000 jelilio/my-simple-todo-app