mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Simplify app.json
Use system libraries for building nokogiri and do not require to configure so many environment variables.
This commit is contained in:
parent
7ddf5e2251
commit
7fd7090867
1 changed files with 12 additions and 59 deletions
71
app.json
71
app.json
|
|
@ -1,67 +1,21 @@
|
||||||
{
|
{
|
||||||
"name": "osem",
|
"name": "osem",
|
||||||
"description": "Open Source Event Manager",
|
"description": "Open Source Event Manager",
|
||||||
|
"repository": "https://github.com/openSUSE/osem",
|
||||||
"env": {
|
"env": {
|
||||||
"CLOUDINARY_URL": {
|
"CLOUDINARY_URL": {
|
||||||
"description": "Configure your cloudinary.com cloud name and api key/secret",
|
"description": "Create a https://cloudinary.com account and set the cloud url here. It starts with cloudinary://"
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"DATABASE_URL": {
|
|
||||||
"description": "Configure your database connection",
|
|
||||||
"required": false
|
|
||||||
},
|
},
|
||||||
"SECRET_KEY_BASE": {
|
"SECRET_KEY_BASE": {
|
||||||
"description": "a key which allows sessions to be verified against a known secure key to prevent tampering",
|
"description": "A key to verify sessions. At least 40 characters. For instance: https://www.randomlists.com/string?base=16&length=64&qty=1",
|
||||||
"required": true
|
"generator": "secret"
|
||||||
},
|
},
|
||||||
"LANG": {
|
"NOKOGIRI_USE_SYSTEM_LIBRARIES": "1",
|
||||||
"required": false
|
"RAILS_ENV": "production",
|
||||||
},
|
"RACK_ENV": "production"
|
||||||
"OSEM_EMAIL_ADDRESS": {
|
|
||||||
"description": "The address OSEM uses for sending mails",
|
|
||||||
"required": false
|
|
||||||
},
|
|
||||||
"OSEM_HOSTNAME": {
|
|
||||||
"description": "The host this OSEM instance runs on",
|
|
||||||
"required": false
|
|
||||||
},
|
|
||||||
"OSEM_NAME": {
|
|
||||||
"description": "The name of your page",
|
|
||||||
"required": false
|
|
||||||
},
|
|
||||||
"OSEM_SMTP_ADDRESS": {
|
|
||||||
"description": "The smtp server to use",
|
|
||||||
"required": false
|
|
||||||
},
|
|
||||||
"OSEM_SMTP_AUTHENTICATION": {
|
|
||||||
"description": "The auth method for the smtp server",
|
|
||||||
"required": false
|
|
||||||
},
|
|
||||||
"OSEM_SMTP_DOMAIN": {
|
|
||||||
"description": "The HELO domain for the smtp server",
|
|
||||||
"required": false
|
|
||||||
},
|
|
||||||
"OSEM_SMTP_PASSWORD": {
|
|
||||||
"description": "The password for the smtp server",
|
|
||||||
"required": false
|
|
||||||
},
|
|
||||||
"OSEM_SMTP_PORT": {
|
|
||||||
"description": "The port on the smtp server",
|
|
||||||
"required": false
|
|
||||||
},
|
|
||||||
"OSEM_SMTP_USERNAME": {
|
|
||||||
"description": "The user for the smtp server",
|
|
||||||
"required": false
|
|
||||||
},
|
|
||||||
"RACK_ENV": {
|
|
||||||
"required": false
|
|
||||||
},
|
|
||||||
"RAILS_ENV": {
|
|
||||||
"required": false
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postdeploy": "bundle exec rake db:reset data:demo"
|
"postdeploy": "bundle exec rake db:schema:load db:seed"
|
||||||
},
|
},
|
||||||
"formation": {
|
"formation": {
|
||||||
"web": {
|
"web": {
|
||||||
|
|
@ -72,12 +26,11 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"addons": [
|
"addons": [
|
||||||
"heroku-postgresql",
|
|
||||||
"sendgrid"
|
|
||||||
],
|
|
||||||
"buildpacks": [
|
|
||||||
{
|
{
|
||||||
"url": "heroku/ruby"
|
"plan": "heroku-postgresql"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"plan": "sendgrid"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue