Skip to content

Commit

Permalink
gitpod instructions
Browse files Browse the repository at this point in the history
gitpod instructions
  • Loading branch information
arthtyagi committed Nov 18, 2022
1 parent 389eab7 commit c2a1d8e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.

tasks:
- init: yarn install && yarn run build
command: yarn run dev
2 changes: 1 addition & 1 deletion apps/server/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ REDIS_USERNAME=default
REDIS_PORT=default
REDIS_HOST=default
REDIS_PASSWORD=default
PRODUCTION=False
ENVIRONMENT=GITPOD
DEBUG=True
ALLOWED_HOSTS=localhost 127.0.0.1 0.0.0.0 [::1]
CORS_ALLOWED_ORIGINS=http://localhost:4273
Expand Down
12 changes: 12 additions & 0 deletions apps/server/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,15 @@ Using Black to format the code. Spaces not tabs.

Feel free to add tests.
We do not do unit tests. Integration testing is an open issue so you could start with that.

### Gitpod

1. `pyenv install 3.10.6`
2. `pyenv shell 3.10.6`
3. `poetry env use python3.10`
4. `poetry shell`
5. `poetry install`
6. `python manage.py migrate`
7. `python manage.py runserver`

If something is broken about this Gitpod setup, fix it and make a PR.

0 comments on commit c2a1d8e

Please sign in to comment.