-
Install the node requirements.
$ npm install
-
Create an empty
_comments.json
file.$ cat > _comments.json << EOF [ ] EOF
-
Create a python virtual environment.
$ virtualenv env $ source env/bin/activate
-
Install requirements.
$ pip install -r requirements.txt
After following the Development Setup Instructions, you can now run the Flask
dev server and gulp-watch to watch your JSX react file src/comments.js
for
changes. If you have the LiveReload plugin for Chrome your browser will
automatically reload.
In your first terminal window or tab run:
$ python app.py
In your second terminal window or tab run:
$ gulp
Now you can open your browser to http://127.0.0.1:8000/ and you should be able to add comments.