Compare commits

...

2 commits

Author SHA1 Message Date
Vishnu Narayanan
82035f9c91
feat: support ce install with linux script 2022-04-07 20:51:42 +05:30
Vishnu Narayanan
e5f3ca4763
feat: support ce install with linux script 2022-04-07 20:49:38 +05:30

View file

@ -107,6 +107,14 @@ sed -i -e "/POSTGRES_PASSWORD/ s/=.*/=$pg_pass/" .env
sed -i -e '/RAILS_ENV/ s/=.*/=$RAILS_ENV/' .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
EOF