This project is a very simple version of the flask blog app in http://flask.pocoo.org/docs/1.0/tutorial/
- Clone the project files.
- Create a virtual environment.
- You need Python 3.6 or higher.
- Install the requirements (
python -m pip install -r requirements.txt
).
On a Windows command prompt, run the following commands:
$ set FLASK_APP="blog"
$ set FLASK_ENV="development"
$ flask init-db
$ flask run
On a Mac or Linux terminal, run the following commands:
$ export FLASK_APP=blog
$ export FLASK_ENV=development
$ flask init-db
$ flask run
In a web browser, go to [http://127.0.0.1:5000/]