Reorder Decidim rake secret generation
This commit is contained in:
parent
7426ff6f9c
commit
c73c5f1eef
@ -20,9 +20,9 @@ envsubst <createdb.sql | lxc-attach -u 5432 -g 5432 decidim-postgres -- psql
|
||||
lxchelper extract decidim /srv/decidim-app/config /srv/decidim/decidim_conf
|
||||
|
||||
# Configure Decidim
|
||||
export DECIDIM_SECRET=$(lxc-execute decidim -- rake secret)
|
||||
mkdir -p /srv/decidim/decidim_data/storage /srv/decidim/decidim_data/uploads
|
||||
chown 108080:108080 /srv/decidim/decidim_data/storage /srv/decidim/decidim_data/uploads
|
||||
export DECIDIM_SECRET=$(lxc-execute decidim -- rake secret)
|
||||
cp decidim_conf/environments/production.rb /srv/decidim/decidim_conf/environments/production.rb
|
||||
cp decidim_conf/initializers/decidim.rb /srv/decidim/decidim_conf/initializers/decidim.rb
|
||||
envsubst <decidim_conf/application.yml >/srv/decidim/decidim_conf/application.yml
|
||||
|
Loading…
Reference in New Issue
Block a user