forked from green-coding-solutions/bakerydemo-gold-benchmark
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
22 lines (22 loc) · 653 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
image:
file: .gitpod.dockerfile
ports:
- port: 8080
onOpen: open-preview
tasks:
- init: |
cp bakerydemo/settings/local.py.example bakerydemo/settings/local.py
echo "DJANGO_SETTINGS_MODULE=bakerydemo.settings.local" > .env
python -m pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py load_initial_data
echo "CSRF_TRUSTED_ORIGINS = ['https://*.gitpod.io']" >> bakerydemo/settings/local.py
command: |
python manage.py runserver 0.0.0.0:8080
github:
prebuilds:
pullRequestsFromForks: true
vscode:
extensions:
- ms-python.python