Update env file instructions

master
Max Erenberg 3 months ago
parent 564d238405
commit de55e654ac
  1. 7
      README.md

@ -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.

Loading…
Cancel
Save