A simply blog create with Flask (work in progress)
[TODO]
- Add flask-security ext
- ...
###Try it yourself ! ####Environment
- Clone the repository
$ git clone https://github.com/QMickael/flaskBlog.git
- Create and activate a virtual environment in the same directory:
$ pip install virtualenv
$ virtualenv env
$ . env/bin/activate
- Install the required packages using pip:
(env)$ pip install -r requirements.txt
####Database
- In your virtual environment, create the database using Python:
(env)$ python manage.py db init
- If you want update database(beware with sqlite3 specifications !):
(env)$ python manage.py db migrate
(env)$ python manage.py db upgrade
- Run the app:
(env)$ python app.py runserver
- Point your browser to:
http://127.0.0.1:5000/