Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
rpteam
rp
Commits
d65d8df5
Commit
d65d8df5
authored
Apr 30, 2019
by
okhin
🚴
Browse files
Options
Browse Files
Download
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
README.md
README.md
+9
-7
No files found.
README.md
View file @
d65d8df5
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment