Fixing issues with bin/setup.sh

We accidentally were including some boilerplate from the project that
the setup files was pulled from.
This commit is contained in:
Tom Gallacher 2016-10-17 14:45:05 +01:00
parent 71b45f7341
commit 495665088b
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -48,3 +48,6 @@ jspm_packages
# Mac OS dirty files
.DS_Store
# Application Specific
.env

View File

@ -64,8 +64,6 @@ write_env_file() {
[[ -f .env ]] || {
echo '# Consul discovery via Triton CNS' >> .env
echo CONSUL=consul.svc.${TRITON_ACCOUNT}.${TRITON_DC}.cns.joyent.com >> .env
echo MONGO_URL=mongodb://mongo.svc.${TRITON_ACCOUNT}.${TRITON_DC}.cns.joyent.com:27017/rocketchat >> .env
echo ROOT_URL=http://rocketchat.svc.${TRITON_ACCOUNT}.${TRITON_DC}.cns.joyent.com:3000/ >> .env
echo >> .env
}
}