Skip to content

Commit

Permalink
Test render
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosantoniodasilva committed Oct 12, 2023
1 parent 2d97e95 commit ccaf0ff
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/render-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# exit on error
set -o errexit

bundle install
bundle exec rake assets:precompile assets:clean db:migrate
16 changes: 16 additions & 0 deletions render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
databases:
- name: simple-form-bootstrap
databaseName: sfbootstrapdb
user: sfbootstrap

services:
- type: web
name: simple-form-boostrap
runtime: ruby
buildCommand: "./bin/render-build.sh"
startCommand: "bundle exec puma -C config/puma.rb"
envVars:
- key: DATABASE_URL
fromDatabase:
name: sfbootstrapdb
property: connectionString

0 comments on commit ccaf0ff

Please sign in to comment.