Commit d65d8df5 authored by okhin's avatar okhin 🚴

Merge branch 'issue/49-update-installation-instructions' into 'rp2'

Updating README instructions

See merge request !31
parents 6ad22830 0a2c2b75
Pipeline #2567 passed with stages
in 3 minutes and 58 seconds
......@@ -11,7 +11,7 @@ for development
$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt
To compile the CSS stylesheets and JS scripts, install npm, then run
To compile the CSS stylesheets and JS scripts, [install npm](https://www.npmjs.com/get-npm), then run
the following commands to run yarn (to fetch and install dependencies) and
webpack (to compile local assets)
......@@ -19,6 +19,8 @@ webpack (to compile local assets)
$ yarn install
$ webpack
In case you want to use the fixtures, you will need to install (git-lfs)[https://git-lfs.github.com/].
## Settings
Create a file in `project/settings/env.py` which contains django
......@@ -41,19 +43,19 @@ the FQDN of the RP before being able to run in production
If DEBUG is defined as True, ALLOWED_HOSTS is set to allow connections
from any hosts.
Groups have to be initialized with the following command:
```sh
$ python manage.py init_groups
```
## Database
You can run migrations with :
You can run database migrations with :
```sh
$ python manage.py migrate
```
Groups are initialized with the following command:
```sh
$ python manage.py init_groups
```
You can seed the database with a provided fixtures
located in apps/rp/fixtures/all_articles.json:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment