-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README.md: add deploy instructions and write out test login data (#177)
Signed-off-by: Andrew Ammerlaan <[email protected]>
- Loading branch information
1 parent
1d44d58
commit 7058e92
Showing
1 changed file
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|