https://github.com/pullpreview/demo-ruby-on-rails
Example Ruby on Rails app for PullPreview.com
https://github.com/pullpreview/demo-ruby-on-rails
Last synced: 7 months ago
JSON representation
Example Ruby on Rails app for PullPreview.com
- Host: GitHub
- URL: https://github.com/pullpreview/demo-ruby-on-rails
- Owner: pullpreview
- Created: 2016-09-30T20:02:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-14T20:09:47.000Z (over 2 years ago)
- Last Synced: 2025-01-03T18:47:10.190Z (about 1 year ago)
- Language: Ruby
- Homepage: https://pullpreview.com
- Size: 570 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

## Demo of PullPreview action for a Ruby on Rails application
Have a look at the `.github/workflows/pullpreview.yml` file, as well as the `docker-compose.*` files to see how it's setup.
Deployments are visible on https://github.com/pullpreview/demo-ruby-on-rails/deployments.
In this demo, PullPreview is configured with Caddy as a proxy, which automatically provides SSL certificates, as well as protecting the access to the preview environment with a Basic Auth:
- username=`admin`
- password=`p4ssw0rd`
## How to run locally for development
PULLPREVIEW_PUBLIC_DNS=perso.click docker-compose -f docker-compose.yml -f docker-compose.pullpreview.yml up