Skip to content

Commit

Permalink
feat: add support for google cloud build app enginge
Browse files Browse the repository at this point in the history
ematala committed Apr 30, 2023
1 parent 0be04e2 commit 565dd0e
Showing 6 changed files with 39 additions and 710 deletions.
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.js dependencies:
node_modules/
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -2,5 +2,4 @@ node_modules
build
.env
*.db
TODO
.vercel
TODO
24 changes: 0 additions & 24 deletions api/webhook.ts

This file was deleted.

1 change: 1 addition & 0 deletions app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
runtime: nodejs18
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -4,8 +4,9 @@
"description": "A telegram bot for automating cleaning duties",
"scripts": {
"dev": "ts-node src",
"build:local": "tsc",
"start:local": "tsc && node build/src"
"build": "tsc",
"start": "node build/src",
"deploy": "gcloud app deploy"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
@@ -28,7 +29,6 @@
},
"dependencies": {
"@prisma/client": "4.13.0",
"@vercel/node": "^2.14.0",
"date-fns": "^2.29.3",
"debug": "^4.3.4",
"dotenv": "^16.0.3",
698 changes: 17 additions & 681 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit 565dd0e

Please sign in to comment.