Update env file instructions

This commit is contained in:
Max Erenberg 2022-10-25 23:47:47 -04:00
parent 564d238405
commit de55e654ac
1 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Just the usual:
```
ansible-playbook playbook.yml
```
Once the playbook has finished, open `/opt/greenlight/.env` and set the
Once the playbook has finished, open `/root/bbb/env` and set the
value of `DB_PASSWORD`.
Also, place copies of `csclub-wildcard-chain.crt` and `csclub-wildcard.key`
@ -46,6 +46,11 @@ UPDATE users SET role_id = 2 WHERE username = 'my_csc_username';
When you log back in, you should now be an admin.
## Editing the env file
Whenever you edit /root/bbb/env, make sure to restart the greenlight container
on xylitol with e.g. `systemct restart container-greenlight` and then run
`podman exec greenlight bin/rake db:migrate`.
## Greenlight customization
To ensure that future sysadmins automatically become Greenlight admins,
create a new role called "sysadmin" from the org settings in Greenlight.