mbyczkowski / lacocina

Other
2 stars 1 forks source link

Getting Started

Local development

Requirements:

How to get set-up

Using Vagrant

Using Admin Panel

Troubleshooting

1. Cannot create a db with bundle exec rake db:setup

after you get connected run these 2 queries:

CREATE ROLE lacocina; ALTER ROLE lacocina with CREATEDB LOGIN;

you can quit by typing \q



### Development Workflow

We use Heroku for hosting all our staging and production apps. We have integrations with GitHub and use Heroku Pipelines to automatically create Review Apps when someone open up a PR.

#### Staging

You can reach staging at http://lacocina-staging.herokuapp.com

#### Production

You can reach production at http://lacocina-prod.herokuapp.com

### SSL

Production app uses Heroku SSL and is set up with custom SSL certs from Let's Encrypt. Let's Encrypt certs are valid for 30 days, but they are set-up to auto-renew using https://github.com/dmathieu/sabayon app to generate and renew certs.