Template for init a new project in Flask-Python.
the best way for init with Flask Micro Framework.
If you want more infor about flask, please visit http://flask.pocoo.org/ or read this tutorial http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world
Required steps:
-
Install python
-
Install Virtual environment, more information at, http://docs.python-guide.org/en/latest/dev/virtualenvs/
2.1. Create a folder to host your virtual environment >> mkdir myvirtualenv
2.2. Create new virtual environment >> virtualenv myvirtualenv
2.3. Activate virtual environment >> source myvirtualenv/bin/activate
2.4. Install dependencies in requirements.txt (myvirtualenv)>> pip install -r requirements.txt
-
Execute: >> python run.py
Colaborations: @josleugim and @pptonio