Skip to content

Commit

Permalink
README.md: add deploy instructions and write out test login data
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Ammerlaan <[email protected]>
  • Loading branch information
Nowa-Ammerlaan committed May 19, 2024
1 parent 66c8c1d commit 84a7360
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,35 @@ ID will be incremented because of auto-increment options in the database.

Go to `http://localhost:8080/` and you should be greeted by the MijnRood login page.

You can log in with `[email protected]` as email, and `admin` as password.
Look at `src/DataFixtures/` to see an overview of all test data, including other accounts.
## Local test login data:

Admin level:
- Name: `Admin de Baas`
- E-mail: `[email protected]`
- Password: `admin`

Group head level:
- Name: `Jan Jansen`
- E-mail: `[email protected]`
- Password: `contact`
- Member off: `Noorderhaaks`
- Head off: `Noorderhaaks`

Member level:
- Name: `Henk de Vries`
- E-mail: `[email protected]`
- Password: `new_member`
- Member off: `Nooderhaaks`

## Server deployment

To deploy updates on the server:
```
sudo -u deploy -i
docker compose -f docker/prod/docker-compose.yml --env-file .env.local down
git pull
docker compose -f docker/prod/docker-compose.yml --env-file .env.local up --build -d
```

## Extra configuration

Expand Down

0 comments on commit 84a7360

Please sign in to comment.