Skip to content

Commit

Permalink
Merge pull request #50 from OpenDataServices/mw/update-readme
Browse files Browse the repository at this point in the history
README: Add info about redis and running the rqworker
  • Loading branch information
BibianaC committed Feb 26, 2021
2 parents 9fbf0dc + 0f44e68 commit ca9f748
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Open Standards Lab. A web tool for users and creators of Open Standards.
Installing standards lab to develop the standards-lab code
### Local system

Install:
#### Install:

```
# Install system dependencies
$ apt install redis python3-virtualenv
$ apt install redis python3-virtualenv # or whatever you system package manger uses
# Create python virtual environment
$ virtualenv --python python3 .ve
Expand All @@ -24,12 +24,23 @@ $ pip install -r requirements.txt
$ pip install -r requirements_dev.txt
```

Run development webserver:
#### Running:

Make sure redis is running:
```
$ sudo service redis start
```
Run development webserver process:

```
$ manage.py runserver
```

Run the queue runner process:
```
$ manage.py rqworker default
```


### Local using docker containers

Expand Down

0 comments on commit ca9f748

Please sign in to comment.