Skip to content

Commit

Permalink
gcp用
Browse files Browse the repository at this point in the history
  • Loading branch information
crashRT committed Aug 17, 2022
1 parent 8745546 commit a8915df
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This file specifies files that are *not* uploaded to Google Cloud Platform
# 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

# Python pycache:
__pycache__/
# Ignored by the build system
/setup.cfg
16 changes: 16 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#インストールされているバージョンによって末尾の数字調整
runtime: python39

# 下記は 設定用ディレクトリ.wsgi:application のように記述
entrypoint: gunicorn -b :$PORT portfolio.wsgi:application



# 下記はhttpでアクセスがあった際、httpsにリダイレクトするための記述
handlers:
- url: /static
static_dir: staticfiles/

- url: .*
secure: always
script: auto
Binary file added cloud_sql_proxy.exe
Binary file not shown.

0 comments on commit a8915df

Please sign in to comment.