Skip to content

Commit

Permalink
Update installation instructions for JS
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarrois committed Jul 7, 2015
1 parent e3e9472 commit 911bc5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ For the API:
* Install Python3.4
* Create a virtualenv: ``pyvenv ~/dev/venvs/platal2``
* Enter it: ``. ~/dev/venvs/platal2``
* Install requirements: ``cd api; pip install -r requirements.txt``
* Install requirements: ``cd api; make install-deps``
* Adapt ``example_settings.ini`` into a ``local_settings.ini`` suitable to access the production database
* Setup the Django part: ``./manage.py syncdb``
* Start it up! ``./manage.py runserver``

For the UI:
* Install nodejs
* Enter the UI directory: ``cd ui``
* Install the dependencies: ``make update``
* Install the dependencies: ``make install-deps``
* Compile the project: ``make build``
* Run the UI: ``make runserver``
* In order for the UI to be able to fetch data, open https://platal2-demo.polytechnique.org/auth/login/?next=/api/ and login there
Expand Down

0 comments on commit 911bc5e

Please sign in to comment.