mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #3675 from hennevogel/doc/drop-heroku-deploy
Remove heroku/railway configuration
This commit is contained in:
commit
eca537daf7
3 changed files with 5 additions and 52 deletions
|
|
@ -26,11 +26,12 @@ You can find the latest OSEM releases on our [release page](https://github.com/o
|
|||
|
||||
## Deploy to the cloud
|
||||
|
||||
The easiest way to deploy OSEM is to use one of the many platform as a service providers that support ruby on rails. We have prepared OSEM to be used with [heroku](https://heroku.com). So if you have an account there, you can deploy OSEM by pressing this button:
|
||||
The easiest way to deploy OSEM is to use one of the many platform as a service (PaaS) providers that support Ruby on Rails.
|
||||
There are too many to list, here are a few we have seen OSEM deployed to:
|
||||
|
||||
<a href="https://heroku.com/deploy?template=https://github.com/openSUSE/osem/tree/v1.0">
|
||||
<img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy">
|
||||
</a>
|
||||
- https://heroku.com
|
||||
- https://render.com
|
||||
- https://fly.io
|
||||
|
||||
## Deploy to your own server
|
||||
|
||||
|
|
|
|||
37
app.json
37
app.json
|
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
"name": "osem",
|
||||
"description": "Open Source Event Manager",
|
||||
"repository": "https://github.com/openSUSE/osem",
|
||||
"env": {
|
||||
"CLOUDINARY_URL": {
|
||||
"description": "Create a https://cloudinary.com account and set the cloud url here. It starts with cloudinary://",
|
||||
"required": false
|
||||
},
|
||||
"SECRET_KEY_BASE": {
|
||||
"description": "A key to verify sessions. At least 40 characters. For instance: https://www.randomlists.com/string?base=16&length=64&qty=1",
|
||||
"generator": "secret"
|
||||
},
|
||||
"NOKOGIRI_USE_SYSTEM_LIBRARIES": "1",
|
||||
"RAILS_ENV": "production",
|
||||
"RACK_ENV": "production"
|
||||
},
|
||||
"scripts": {
|
||||
"postdeploy": "bundle exec rake db:schema:load db:seed"
|
||||
},
|
||||
"formation": {
|
||||
"web": {
|
||||
"quantity": 1
|
||||
},
|
||||
"worker": {
|
||||
"quantity": 1
|
||||
}
|
||||
},
|
||||
"addons": [
|
||||
{
|
||||
"plan": "heroku-postgresql"
|
||||
},
|
||||
{
|
||||
"plan": "sendgrid"
|
||||
}
|
||||
]
|
||||
}
|
||||
11
railway.json
11
railway.json
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"$schema": "https://railway.app/railway.schema.json",
|
||||
"build": {
|
||||
"builder": "nixpacks"
|
||||
},
|
||||
"deploy": {
|
||||
"startCommand": "foreman start -p 3000",
|
||||
"restartPolicyType": "ON_FAILURE",
|
||||
"restartPolicyMaxRetries": 2
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue