add env and readme for configuring admin
This commit is contained in:
14
README.md
14
README.md
@ -26,5 +26,19 @@
|
||||
5. `abra app deploy YOURAPPDOMAIN`
|
||||
6. Open the configured domain in your browser to finish set-up
|
||||
|
||||
At this point, anyone with this domain can register new users with this cryptpad instance.
|
||||
|
||||
After you have registered a first user, here is how you can make this user into an admin.
|
||||
After logging in as your user, go to: https://cryptpad.cctest.autonomic.zone/profile/
|
||||
|
||||
Click "Copy Public Key". This will copy your public key into your clipboard.
|
||||
Then run `abra app config YOURAPPDOMAIN` and set the value of CRYPTPAD_ADMIN_KEYS
|
||||
to include your public key. The example in .env.sample shows the required format.
|
||||
|
||||
Then redeploy with `abra app deploy YOURAPPDOMAIN --force`.
|
||||
|
||||
Now when you login as your user, and visit https://cryptpad.cctest.autonomic.zone/admin/,
|
||||
you should be able to access the admin interface for this cryptpad instance.
|
||||
|
||||
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
||||
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
|
||||
Reference in New Issue
Block a user