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

chore: build a staging docker image #252

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/docker-build-staging-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
paths:
- 'apiv2/**'
branches:
- release-please--branches--main--components--apiv2

jobs:
argus_builder:
Expand Down
3 changes: 2 additions & 1 deletion apiv2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
```
make apiv2-init # from the root of the repo
docker compose exec graphql-api pip install cryoet_data_portal

# You can stop this after a few screenfuls of output if you don't need a full import.
docker compose exec graphql-api python3 scrape.py
```
Expand All @@ -12,7 +13,7 @@ After the above steps, browse the api at [http://localhost:9009/graphql](http://
## How to make changes to the schema

```
# First, make any necessary changes to apiv2/schema/schema.yaml, then run this to generate new code & migrations and apply them:
# First, make any necessary changes to `apiv2/schema/schema.yaml`, then run this to generate new code & migrations and apply them:
cd apiv2
make update-schema

Expand Down
Loading