We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7064d6b commit 29de839Copy full SHA for 29de839
.gitpod.yml
@@ -11,14 +11,14 @@ ports:
11
onOpen: ignore
12
tasks:
13
- init: >
14
- (cp -n .env.example .env || true) &&
+ (cp -n .env.example .env || true) &&
15
pipenv install &&
16
psql -U gitpod -c 'CREATE DATABASE example;' &&
17
psql -U gitpod -c 'CREATE EXTENSION unaccent;' -d example &&
18
bash database.sh &&
19
python docs/assets/greeting.py back
20
- command: >
21
- ((sed -i /BACKEND_URL/d .env && echo "" >> .env && echo "BACKEND_URL=https://3001-${GITPOD_WORKSPACE_URL:8}" >> .env) || true) &&
+ echo BACKEND_URL=$(gp url 3001) >> .env &&
22
npm install &&
23
python docs/assets/greeting.py front
24
openMode: split-right
0 commit comments