Skip to content
Snippets Groups Projects
Commit a42fef85 authored by Alissa Cheng's avatar Alissa Cheng
Browse files

minor tweak on documentation

parent 67564280
No related branches found
No related tags found
1 merge request!66Add operator docs space
Pipeline #69930 passed
......@@ -6,6 +6,8 @@ New implementation for the LOFAR stager in the Django framework.
## Contributing
### Set up
Installing a development version can be done via:
```bash
......@@ -28,11 +30,6 @@ docker network create traefik_proxy
docker compose -f deploy/docker-compose.yaml -f deploy/docker-compose.development.yaml up -d --force-recreate postgres && sleep 2
```
Fill the database with some content:
```bash
docker exec -i stageit_postgres /bin/bash -c "PGPASSWORD=stageit psql --username stageit stageit" < ./tests/files/stageit_dump.sql
```
Then the database can be migrated by running:
```bash
python manage.py migrate
......@@ -49,6 +46,12 @@ And finally a development instance can be run at http://localhost:8000:
python manage.py runserver
```
### Troubleshooting
If the database is empty, you can use this command to fill it with some content:
```bash
docker exec -i stageit_postgres /bin/bash -c "PGPASSWORD=stageit psql --username stageit stageit" < ./tests/files/stageit_dump.sql
```
## Acknowledgements
......
{
"label": "Access to the Application",
"position": 1.5,
"position": 1,
"link": {
"type": "generated-index"
}
......
---
displayed_sidebar: userGuideSideBar
sidebar_position: 1
sidebar_position: 0
---
# User Guide Introduction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment