· Report Bug · Request Feature ·
Setup for outline the wiki software we use to document internal workings and other collaborative work. Uses discord OpenID Connect for authentication for ease of use.
Follow Creating a release.
- Follow local setup.
- Follow the Customization section and set all variables with
Required in dev
true
. - Navigate to
http://localhost:3400
Create a environment file touch .env
. Override variables in the {variable name}={variable value}
format. All required variables need to be overridden for the respected environment.
Variable | Description | Required in dev | Required in prod | Default value |
---|---|---|---|---|
SECRET_KEY |
Run openssl rand -hex 32 to get one. |
true |
true |
none |
UTILS_SECRET |
Run openssl rand -hex 32 to get one. |
true |
true |
none |
POSTGRES_PASSWORD |
Postgres password. Choose a secure one. | true |
true |
none |
DISCORD_APP_ID |
Follow Discord OpenId Connect for a rough tutorial. Id can be retrieved from Discord Apps > Click your application > OAuth2 > APPLICATION ID . |
true |
true |
none |
DISCORD_APP_SECRET |
Follow Discord OpenId Connect for a rough tutorial. Id can be retrieved from Discord Apps > Click your application > OAuth2 > CLIENT SECRET . |
true |
true |
none |
OUTLINE_HOST |
URL to be used by the reverse proxy. E.g. wiki.domain.de . |
false |
true |
none |
SMTP_HOST |
SMTP host. | true |
true |
none |
SMTP_PORT |
SMTP host. | true |
true |
none |
SMTP_USERNAME |
SMTP username. | true |
true |
none |
SMTP_PASSWORD |
SMTP password. | true |
true |
none |
SMTP_FROM_EMAIL |
SMTP from email. | true |
true |
none |
SMTP_REPLY_EMAIL |
SMTP reply email. | false |
false |
`` |
SMTP_TLS_CIPHERS |
SMTP tls cipher. | false |
false |
`` |
SMTP_SECURE |
SMTP secure connection. | false |
false |
1 |
Follow Discord OpenId Connect for a rough tutorial.
- Navigate to Discord Apps
- Create a application
- Navigate to Your application > OAuth2
- Click to regenerate a
CLIENT SECRET
- Make note of
APPLICATION ID
andCLIENT SECRET
and set it like described in Customization - Add a redirect url with this value:
(http|https)://{url}/auth/oidc.callback
. Make sure to replace url and the protocol according to your environment
Follow contributing.