QMickael / flaskBlog

A simply blog create with Flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flaskBlog

A simply blog create with Flask (work in progress)

[TODO]

  • Add flask-security ext
  • ...

###Try it yourself ! ####Environment

  1. Clone the repository
$ git clone https://github.com/QMickael/flaskBlog.git
  1. Create and activate a virtual environment in the same directory:
$ pip install virtualenv
$ virtualenv env
$ . env/bin/activate
  1. Install the required packages using pip:
(env)$ pip install -r requirements.txt

####Database

  1. In your virtual environment, create the database using Python:
(env)$ python manage.py db init
  1. If you want update database(beware with sqlite3 specifications !):
(env)$ python manage.py db migrate
(env)$ python manage.py db upgrade
  1. Run the app:
(env)$ python app.py runserver
  1. Point your browser to:
http://127.0.0.1:5000/

About

A simply blog create with Flask


Languages

Language:Python 51.7%Language:HTML 46.8%Language:CSS 1.5%