=== 0. install Python 2
$ cd ProjectFolder
- Follow this link to create an isolated python virtual evnviroment. note the folder should be
venv
. -
- On OS X and Linux:
$ . venv/bin/activate
. - ON Windows:
$ v-env\scripts\activate
.
- On OS X and Linux:
- Before proceed to next step, make sure you will see
(ENV)
in your shell $ pip install -r requirements.txt
to install all required packages.
=== 0. Download MongoDB community server
- Follow this guide to setup & run mongoDb locally
===
- Enviroment Isolator: Virtualenv
- Framework: Flask==0.10.1
- Database: MongoDB
- Others:
- pymongo==3.0.1
- PyYaml==3.11
- beautifulsoup4==4.5.1
- networkx==1.11
- Requests==2.9.1
===
#####Comments
- inline & block comment: start with # Number Sign.
- docstrings: surround by ''' ''' or """ """.
#####Naming
- function_name and variable_Name: lowercase, with words separated by underscores.
- CONSTANT_NAME: all capital letters with words underscores separated by underscores.