- Python 2.x
- a virtual Python environment
- npm 2.15.8+
- Webpack 1.13.x (sudo npm i -g webpack)
- ESLint 2.13.1+ (sudo npm i -g eslint)
- NodeJS 4.4.7+
from root/
,
$ mkvirtualenv mysite
$ sudo pip install -r requirements.txt
$ python manage.py runserver --setting=zipari.settings.dev
from frontend/
$ npm install
$ webpack
In root/zipari/settings/base.py
Modify this block to your db setting,
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'zipari',
'USER': 'stephenbae',
'PASSWORD': '1234',
'HOST': 'localhost',
'PORT': '32768',
}
}
The app can be viewed at http://127.0.0.1:8000/