/allmywishes

Django Dash 2013 - http://allmywish.es/ AND DEV VERSION IS HERE --->

Primary LanguagePythonOtherNOASSERTION

How to get AllMyWishes project up?

Installation

We have to get up two servers:

  • Django backend
  • Yeoman frontend

Django backend

Creating the environment

Create a virtual python environment for the project.

For virtualenvwrapper
mkvirtualenv allmywishes

Clone the code

git clone git@github.com:vasyabigi/allmywishes.git

Install requirements

cd backend
pip install -r reqs/dev.txt

Sync database

python manage.py syncdb

Apply database migrations

python manage.py migrate

Yeoman frontend

Install requirements

  • Install node.js
  • Install yeoman, grunt, bower with this command: npm install -g yo grunt-cli bower
  • Install compass
  • Go inside frontend by cd frontend
  • Install node.js dependencies by npm install (from package.json)
  • Install frontend dependencies by bower install (from bower.json)

Running Django backend

Go to backend folder

python manage.py runserver

Running Yeoman frontend

Go to frontend folder in separate terminal tab

grunt server

Open browser to http://127.0.0.1:9000/

Enjoy!