decidim: mirror koopa-decidim setup (9027, docs for /sm showcase)
This commit is contained in:
parent
d519fb3c80
commit
9ae0dfa429
21 changed files with 998 additions and 2 deletions
22
configs/decidim/bin/apply-branding.sh
Executable file
22
configs/decidim/bin/apply-branding.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
# Apply hacktivism colors + header CSS on the live organization.
|
||||
set -euo pipefail
|
||||
cd "${HOME}/koopa-decidim"
|
||||
set -a
|
||||
# shellcheck disable=SC1091
|
||||
source .env
|
||||
# shellcheck disable=SC1091
|
||||
source users.env
|
||||
set +a
|
||||
podman exec \
|
||||
-e DECIDIM_HOST="${DECIDIM_HOST:-decidim.hacktivism.ch}" \
|
||||
-e DECIDIM_SYSTEM_EMAIL \
|
||||
-e DECIDIM_SYSTEM_PASSWORD \
|
||||
-e DECIDIM_ADMIN_EMAIL \
|
||||
-e DECIDIM_ADMIN_PASSWORD \
|
||||
-e DECIDIM_ADMIN_NAME \
|
||||
-e DECIDIM_APPLICATION_NAME \
|
||||
-e DECIDIM_DEFAULT_LOCALE \
|
||||
-e DECIDIM_AVAILABLE_LOCALES \
|
||||
koopa-decidim bundle exec rails runner /code/lib/koopa_bootstrap.rb
|
||||
echo "branding applied. public: https://decidim.hacktivism.ch/"
|
||||
Loading…
Add table
Add a link
Reference in a new issue