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

update backend deployment command #227

Merged
merged 1 commit into from
Mar 19, 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
17 changes: 17 additions & 0 deletions .gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file specifies files that are *not* uploaded to Google Cloud
# using gcloud. It follows the same syntax as .gitignore, with the addition of
# "#!include" directives (which insert the entries of the given .gitignore-style
# file at that point).
#
# For more information, run:
# $ gcloud topic gcloudignore
#
.gcloudignore
# If you would like to upload your .git directory, .gitignore file or files
# from your .gitignore file, remove the corresponding line
# below:
.git
.gitignore

node_modules
#!include:.gitignore
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ npm run build-prod
For Cloud Function use the following command inside backend/:

```
gcloud functions deploy ichiba_proxy --project=PROJECT_ID --runtime ruby27 --memory=128MB --trigger-http --allow-unauthenticated --region=asia-northeast1 --set-env-vars RWS_APPLICATION_ID=APPLICATION_ID,ALLOW_ORIGIN=ORIGIN
gcloud functions deploy ichiba_proxy --project=PROJECT_ID --runtime ruby32 --memory=128MB --trigger-http --allow-unauthenticated --region=asia-northeast1 --set-env-vars RWS_APPLICATION_ID=APPLICATION_ID,ALLOW_ORIGIN=ORIGIN --entry-point=ichiba_proxy
```

## Usage
Expand Down
Loading