Перейти к файлу
Davor Spasovski 0a984f6a46 Merge pull request #19 from openjck/example-chart
Add example chart to homepage
2016-07-12 13:17:14 -04:00
distributionviewer Add example chart to homepage 2016-07-11 17:39:08 -04:00
.ackrc Initial skeleton 2016-06-10 10:31:53 -05:00
.babelrc Add React skeleton 2016-07-08 17:25:40 -04:00
.editorconfig Initial skeleton 2016-06-10 10:31:53 -05:00
.gitignore Initial skeleton 2016-06-10 10:31:53 -05:00
.travis.yml Initial skeleton 2016-06-10 10:31:53 -05:00
LICENSE Add LICENSE 2016-07-11 12:44:11 -04:00
Procfile Initial skeleton 2016-06-10 10:31:53 -05:00
README.md Add basic development docs 2016-07-11 14:20:26 -04:00
gulpfile.js Add React skeleton 2016-07-08 17:25:40 -04:00
manage.py Initial skeleton 2016-06-10 10:31:53 -05:00
package.json Add example chart to homepage 2016-07-11 17:39:08 -04:00
requirements.txt Initial skeleton 2016-06-10 10:31:53 -05:00
tox.ini Initial skeleton 2016-06-10 10:31:53 -05:00
webpack.config.js Add React skeleton 2016-07-08 17:25:40 -04:00

README.md

Development

  1. echo DEBUG=True >> .env
  2. virtualenv env
  3. source env/bin/activate
  4. pip install -r requirements.txt
  5. npm install
  6. In another terminal, install and run the database
    1. Install postgres
      • Mac: brew install postgres
    2. Run postgres
      • Mac: brew services start postgresql (see brew info postgresql for more info)
  7. Back in the first terminal, set up the database
    1. Create a new user with name distributionviewer and password distributionviewer
      • Mac: createuser --pwprompt distributionviewer
    2. Create a new database named distributionviewer that the distributionviewer user has read/write access to
      • Mac: createdb -Odistributionviewer -Eutf8 distributionviewer
  8. Still in the first terminal, run python manage.py runserver
  9. Load 127.0.0.1:8000