Compare commits
2 commits
develop
...
feat/ce-in
Author | SHA1 | Date | |
---|---|---|---|
|
82035f9c91 | ||
|
e5f3ca4763 |
1 changed files with 8 additions and 0 deletions
|
@ -107,6 +107,14 @@ sed -i -e "/POSTGRES_PASSWORD/ s/=.*/=$pg_pass/" .env
|
||||||
sed -i -e '/RAILS_ENV/ s/=.*/=$RAILS_ENV/' .env
|
sed -i -e '/RAILS_ENV/ s/=.*/=$RAILS_ENV/' .env
|
||||||
echo -en "\nINSTALLATION_ENV=linux_script" >> ".env"
|
echo -en "\nINSTALLATION_ENV=linux_script" >> ".env"
|
||||||
|
|
||||||
|
if [[ "$2" == "ce" ]];then
|
||||||
|
rm -rf enterprise
|
||||||
|
rm -rf spec/enterprise
|
||||||
|
echo -en "\nCW_EDITION=ce" >> ".env"
|
||||||
|
else
|
||||||
|
echo -en "\nCW_EDITION=ee" >> ".env"
|
||||||
|
fi
|
||||||
|
|
||||||
rake assets:precompile RAILS_ENV=production
|
rake assets:precompile RAILS_ENV=production
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue