Skip to content

jphalip/django-react-djangocon2015

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published