Commit 0a2c2b75 authored by piks3l's avatar piks3l

Changing the order of the installation instructions to match the actual order

parent 6ad22830
Pipeline #2566 passed with stages
in 2 minutes and 58 seconds
...@@ -11,7 +11,7 @@ for development ...@@ -11,7 +11,7 @@ for development
$ pip install -r requirements.txt $ pip install -r requirements.txt
$ pip install -r requirements-dev.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 the following commands to run yarn (to fetch and install dependencies) and
webpack (to compile local assets) webpack (to compile local assets)
...@@ -19,6 +19,8 @@ webpack (to compile local assets) ...@@ -19,6 +19,8 @@ webpack (to compile local assets)
$ yarn install $ yarn install
$ webpack $ webpack
In case you want to use the fixtures, you will need to install (git-lfs)[https://git-lfs.github.com/].
## Settings ## Settings
Create a file in `project/settings/env.py` which contains django 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 ...@@ -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 If DEBUG is defined as True, ALLOWED_HOSTS is set to allow connections
from any hosts. from any hosts.
Groups have to be initialized with the following command:
```sh
$ python manage.py init_groups
```
## Database ## Database
You can run migrations with : You can run database migrations with :
```sh ```sh
$ python manage.py migrate $ 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 You can seed the database with a provided fixtures
located in apps/rp/fixtures/all_articles.json: 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