completed requirement.txt and updated README.md

master
Malar Kannan 2017-08-10 10:32:33 +05:30
parent 58d8513b29
commit 138f224fd0
4 changed files with 10 additions and 3 deletions

View File

@ -2,7 +2,7 @@
`$./setup.sh` creates the virtual env, installs python and node module dependencies.
### running
`$yarn start` opens the browser pointing to the frontend of the blog, it also starts the blog api server.
### Running
`$./run.sh` opens the browser pointing to the frontend of the blog, it also starts the blog's api server.
The request with prefix `/api` are forwarded to the api server by the frondtend.

View File

@ -1,15 +1,20 @@
aniso8601==1.2.1
click==6.7
Flask==0.12.2
Flask-FlatPages==0.6
Flask-Restless==0.17.0
flask-restplus==0.10.1
Flask-SQLAlchemy==2.2
functools32==3.2.3.post2
itsdangerous==0.24
Jinja2==2.9.6
jsonschema==2.6.0
Markdown==2.6.8
MarkupSafe==1.0
mimerender==0.6.0
python-dateutil==2.6.1
python-mimeparse==1.6.0
pytz==2017.2
PyYAML==3.12
six==1.10.0
SQLAlchemy==1.1.13

2
run.sh Executable file
View File

@ -0,0 +1,2 @@
. env/bin/activate
yarn start

View File

@ -7,7 +7,7 @@
## Instalation
## Create a virtualenv, and activate this:
virtualenv env
virtualenv --python python2 env
source env/bin/activate
pip install -r requirements.txt
yarn install