Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
Add example.env
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXyfir committed May 5, 2019
1 parent ff7c672 commit 8e8e466
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
41 changes: 41 additions & 0 deletions server/example.env
@@ -0,0 +1,41 @@
PORT=2000

NAME="My App"

JWT_KEY="accownt"

STORAGE={"dir":"/path/to/accownt-db"}

NODE_ENV="production"

SMTP_MAIL={"from":"noreply@example.com"}

STATIC_PATH="/accownt/static/"

TEST_STORAGE={"dir":"/path/to/accownt-test-db"}

APP_HOME_URL="https://example.com"

WEB_DIRECTORY="/path/to/accownt/web"

RECAPTCHA_KEY="XXXXXXXXXXXXXXXXXXXXXXXXX_XXXXXXXXXXXXXX"

SMTP_TRANSPORT={"host":"smtp.example.com","port":587,"auth":{"user":"hello@example.com","pass":"1234"}}

JWT_EXPIRES_IN="30d"

JWT_COOKIE_NAME="jwt"

ACCOWNT_WEB_URL="https://example.com/accownt"

ACCOWNT_API_URL="https://example.com/accownt/api"

TEMP_JWT_EXPIRES_IN="1h"

EMAIL_VERIFICATION_TEXT_TEMPLATE="/path/to/my/app/email-verification.txt"

EMAIL_VERIFICATION_HTML_TEMPLATE="/path/to/my/app/email-verification.html"

PASSWORDLESS_LOGIN_TEXT_TEMPLATE="/path/to/my/app/passwordless-login.txt"

PASSWORDLESS_LOGIN_HTML_TEMPLATE="/path/to/my/app/passwordless-login.html"
25 changes: 25 additions & 0 deletions web/example.env
@@ -0,0 +1,25 @@
PORT=2001

NAME="My App"

THEME=[{"palette":{"type":"light"}},{"palette":{"type":"dark"}}]

FAVICON="https://example.com/favicon.png"

NODE_ENV="production"

STATIC_PATH="/accownt/static/"

DESCRIPTION="Login, register, or manage your 'My App' account."

APP_AUTH_URL="https://example.com/app?jwt=%JWT%"

APP_HOME_URL="https://example.com"

RECAPTCHA_KEY="XXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXX"

THEME_TYPE_KEY="theme"

ACCOWNT_WEB_URL="https://example.com/accownt"

ACCOWNT_API_URL="https://example.com/accownt/api"

0 comments on commit 8e8e466

Please sign in to comment.