Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add devcontainer file #365

Merged
merged 2 commits into from
May 3, 2024
Merged

Add devcontainer file #365

merged 2 commits into from
May 3, 2024

Conversation

james-otten
Copy link
Collaborator

@james-otten james-otten commented May 1, 2024

To use this:

  1. Install the best IDE (VS Code)
  2. Install the Dev Containers extension: ms-vscode-remote.remote-containers
  3. Open the repo folder in the container
  4. In a different shell, start the other containers: docker compose up -d postgres pelias redis
  5. In the VS Code terminal (where your project is opened) follow normal developer setup (no venv needed)
python src/manage.py makemigrations
python src/manage.py migrate
python src/manage.py createsuperuser
python src/manage.py runserver
python src/manage.py test meshapi meshapi_hooks
invoke lint
invoke format
...

Copy link
Collaborator

@WillNilges WillNilges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add these instructions to the README? Ideallly before the other dev instructions where folks will see them.

@james-otten
Copy link
Collaborator Author

Can you please add these instructions to the README? Ideallly before the other dev instructions where folks will see them.

Hope this makes sense

Copy link
Collaborator

@WillNilges WillNilges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@james-otten james-otten merged commit 25ac3c8 into main May 3, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants