https://github.com/decko-commons/decko-heroku
A Decko deck that can be installed on Heroku
https://github.com/decko-commons/decko-heroku
Last synced: 8 months ago
JSON representation
A Decko deck that can be installed on Heroku
- Host: GitHub
- URL: https://github.com/decko-commons/decko-heroku
- Owner: decko-commons
- Created: 2016-08-31T06:51:04.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T21:47:57.000Z (over 3 years ago)
- Last Synced: 2025-02-15T20:57:08.745Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 63.9 MB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# heroku-deck
A [Decko](https://decko.org) deck that can be installed on [Heroku](http://heroku.com)
## Setup
Ahoy! You are only three -oys away from your very own deck:
### Employ
For full functionality, you need to have a cloud storage provider at your disposal. Find and get one if you don't have one. For example
[AWS S3](https://aws.amazon.com/s3/), [Rackspace](https://www.rackspace.com) or [Google Cloud](https://cloud.google.com).
It's to use a deck without cloud storage. Choose "web" as file store option. In that case you won't be able to upload images and files and you can't make any css and javascript changes. But it's possible to embed images via urls (That's why the option is called "web". You can use existing "web" resources in your deck)
### Deploy
Click here :point_right: [](https://heroku.com/deploy?template=https://github.com/decko-commons/decko-heroku) and fill in the fields.
#### Additional information about your config options ####
Wagn uses [CarrierWave](https://github.com/carrierwaveuploader/carrierwave) and [Fog](https://github.com/fog/fog)
to handle file uploads. The config variables in Heroku are translations of CarrierWave's Fog [configuration API](https://github.com/carrierwaveuploader/carrierwave#fog)
```ruby
config.fog_option = value # => OPTION = value
config.fog_credentials = {
option = value # => CREDENTIALS_OPTION = value
}
```
The deploy form offers only credential config options for Google and AWS. If you want to use a different cloud provider then leave the credential fields empty, deploy the Heroku app, click on "manage app" and use the "config variables" section on the settings tab to provide the credentials for your cloud storage.
### Enjoy
The first page load takes a while and sometimes fails with an error message.
In that case just reload the page and then have fun with your new deck.