Skip to content

Commit

Permalink
Added CI,CD via Render
Browse files Browse the repository at this point in the history
  • Loading branch information
app-generator committed Jan 3, 2023
1 parent 7dd5558 commit 71a182c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# exit on error
set -o errexit

python -m pip install --upgrade pip

pip install -r requirements.txt
13 changes: 13 additions & 0 deletions render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
- type: web
name: flask-soft-design
plan: starter
env: python
region: frankfurt # region should be same as your database region.
buildCommand: "./build.sh"
startCommand: "gunicorn run:app"
envVars:
- key: SECRET_KEY
generateValue: true
- key: WEB_CONCURRENCY
value: 4

0 comments on commit 71a182c

Please sign in to comment.