Public | Automated Build

Last pushed: 4 days ago
Short Description
Start docker to run bikeanjo.org system with gunicorn, nginx and supervisor
Full Description


Bike Anjo

pre-install

  • sudo pacman -S postgresql
  • sudo pacman -S postgis
  • sudo pacman -S nodejs

install:

  • npm install
  • ./node_modules/bower/bin/bower install
  • ./node_modules/grunt-cli/bin/grunt all
  • virtualenv -p /usr/bin/python2 bikeanjo
  • pip install -r requirements.txt
  • psql -U postgres -c 'CREATE EXTENSION postgis;'
  • psql -U postgres -c 'CREATE DATABASE bikeanjo;'
  • ./manage.py migrate

run:

you need to run both the django process and grunt to build static assets:

  • ./manage.py runserver
  • grunt all

then you can open http://localhost:8000 on your browser.

tests:

  • make tests

nossa trello board

http://gis.stackexchange.com/a/19440

Docker Pull Command
Owner
hacklab
Source Repository

Comments (0)