Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.03 KB

README.md

File metadata and controls

43 lines (25 loc) · 1.03 KB

Introduction

This repository contains the code presented as part of a talk I gave at DjangoCon 2015 in Austin, TX. You may also refer to the video and slides.

Installation

Install the python dependencies:

mkvirtualenv myenv
workon myenv
pip install -r requirements.txt

Install the node dependencies:

npm install

Initialize the database:

python manage.py migrate
python manage.py initial_photos

Compile the Javascript:

node_modules/webpack/bin/webpack.js -d

Execution

To run the Django server:

workon myenv
python manage.py runserver 0.0.0.0:8000

To run the Node server:

node react-server.js

Then you may check out the 3 different versions:

Feedback and suggestions are welcome. Get in touch! @julienphalip