Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create sysadmin account from user-provided values #144

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
create sysadmin account from user-provided values
wardi committed Apr 29, 2024
commit 9792441a014d78b3f3ca8b7cd8f070132809dc65
8 changes: 5 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -26,6 +26,11 @@ TEST_CKAN_DATASTORE_READ_URL=postgresql://datastore_ro:datastore@db/datastore_te
# Dev settings
USE_HTTPS_FOR_DEV=false

# Fill all three to create an inital sysadmin account:
#CKAN_SYSADMIN_NAME=
#CKAN_SYSADMIN_PASSWORD=
#CKAN_SYSADMIN_EMAIL=

# CKAN core
CKAN_VERSION=2.10.0
CKAN_SITE_ID=default
@@ -36,9 +41,6 @@ CKAN___BEAKER__SESSION__SECRET=CHANGE_ME
# See https://docs.ckan.org/en/latest/maintaining/configuration.html#api-token-settings
CKAN___API_TOKEN__JWT__ENCODE__SECRET=string:CHANGE_ME
CKAN___API_TOKEN__JWT__DECODE__SECRET=string:CHANGE_ME
CKAN_SYSADMIN_NAME=ckan_admin
CKAN_SYSADMIN_PASSWORD=test1234
CKAN_SYSADMIN_EMAIL=your_email@example.com
CKAN_STORAGE_PATH=/var/lib/ckan
CKAN_SMTP_SERVER=smtp.corporateict.domain:25
CKAN_SMTP_STARTTLS=True