Skip to content

Commit

Permalink
Release v1.0.10 - Added CI/CD Support
Browse files Browse the repository at this point in the history
  • Loading branch information
app-generator committed Dec 31, 2022
1 parent 8fe5164 commit aeda293
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [1.0.10] 2022-12-31
### Changes

- Deployment-ready for Render (CI/CD)
- `render.yaml`
- `build.sh`

## [1.0.9] 2022-12-31
### Changes

Expand Down
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-volt
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 aeda293

Please sign in to comment.