Update boop-keys/setup-boop.sh

This commit is contained in:
Kakious 2023-07-21 09:13:42 -07:00
parent 0294ab64af
commit e9aace91ac

View file

@ -15,8 +15,8 @@ echo "[BOOTSTRAP] DB Configured, setting up .env file..."
# read /home/coder/.coder-env as they contain the workspace name and username
WORKSPACE_ENV=$(cat /home/coder/.coder-env | grep WORKSPACE_NAME | cut -d '=' -f2)
USERNAME_ENV=$(cat /home/coder/.coder-env | grep USERNAME | cut -d '=' -f2)
WORKSPACE_ENV=$(cat /home/coder/.coder-env | grep WORKSPACE_ENV | cut -d '=' -f2)
USERNAME_ENV=$(cat /home/coder/.coder-env | grep USERNAME_ENV | cut -d '=' -f2)
sed -i "s/DATABASE_HOST=/DATABASE_HOST=localhost/g" /home/coder/oauth-provider/.env
sed -i "s/DATABASE_PORT=/DATABASE_PORT=3306/g" /home/coder/oauth-provider/.env