Skip to content

Latest commit

 

History

History
75 lines (43 loc) · 1.3 KB

README.rst

File metadata and controls

75 lines (43 loc) · 1.3 KB

DJANGO METEOR TODOS EXAMPLE

This is an example app, providing a full working example of django integrating with meteor.

Installation

The easiest way to get starting is to (assuming you have virtualenvwrapper):

Clone the repo

git clone https://github.com/django-ddp/django-ddp-todos.git
cd django-ddp-todos

Make virtual environment (recommended)

mkvirtualenv ddp-todos
workon ddp-todos

Install postgresql if not installed

createdb djme_todos

Copy djme_todos/.env_default to djme_todos/.env. Modify djme_todos/.env to your DATABASE_URL settings

Install requirements

pip install -r requirements.txt

Install meteor https://www.meteor.com/install

Build the meteor app

cd meteor/meteor_todos
meteor build --directory ../build --server localhost:8000

Add directory to PYTHONPATH in virtualenv

cd ../..
add2virtualenv .

Run DJANGO

python manage.py migrate
DJANGO_SETTINGS_MODULE=djme_todos.settings dddp

Go to http://localhost:8000

References

License

MIT License.