-
Notifications
You must be signed in to change notification settings - Fork 36
/
.gitpod.yml
44 lines (41 loc) · 1.38 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
image:
file: .gitpod.Dockerfile
# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/
ports:
- port: 8000
visibility: public
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
tasks:
- command: redis-server
- init: |
pyenv global 3.12.2 &&
python -m scripts.install &&
gp sync-done deps
command: pyenv global 3.12.2 && pipenv run celery
- init: gp sync-await deps
command: >
pyenv global 3.12.2 &&
(psql -U gitpod -c 'CREATE DATABASE breathecode;' || true) &&
(psql -U gitpod -c 'CREATE EXTENSION unaccent;' -d breathecode || true) &&
pipenv run migrate &&
pipenv run python manage.py loaddata breathecode/*/fixtures/dev_*.json &&
pipenv run python manage.py create_academy_roles &&
pipenv run start;
- init: gp sync-await deps
vscode:
extensions:
- ms-python.python
- streetsidesoftware.code-spell-checker
- mikestead.dotenv
- ms-azuretools.vscode-docker
- github.vscode-pull-request-github
- eamodio.gitlens
- gruntfuggly.todo-tree
- redhat.vscode-yaml
- ms-python.black-formatter
- ms-python.isort
- janisdd.vscode-edit-csv
- tamasfe.even-better-toml
- ms-python.flake8
- donjayamanne.githistory
- ms-python.debugpy