kopia lustrzana https://github.com/wagtail/bakerydemo
23 wiersze
651 B
YAML
23 wiersze
651 B
YAML
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.dev" > .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
|