feat: support ce install with linux script

This commit is contained in:
Vishnu Narayanan 2022-04-07 20:51:42 +05:30
parent e5f3ca4763
commit 82035f9c91
No known key found for this signature in database
GPG key ID: 000B7FD5001541AC

View file

@ -105,6 +105,7 @@ sed -i -e '/POSTGRES_HOST/ s/=.*/=localhost/' .env
sed -i -e '/POSTGRES_USERNAME/ s/=.*/=chatwoot/' .env sed -i -e '/POSTGRES_USERNAME/ s/=.*/=chatwoot/' .env
sed -i -e "/POSTGRES_PASSWORD/ s/=.*/=$pg_pass/" .env 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"
if [[ "$2" == "ce" ]];then if [[ "$2" == "ce" ]];then
rm -rf enterprise rm -rf enterprise