Support for deploy-to-heroku button.
parent
567a7b9e8e
commit
c258e0b85c
|
@ -2,6 +2,12 @@
|
|||
|
||||
# Deploying to Heroku
|
||||
|
||||
*Automatic:*
|
||||
|
||||
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/nicksergeant/snipt/tree/heroku)
|
||||
|
||||
*Manual:*
|
||||
|
||||
- Clone the repo.
|
||||
- `heroku create`
|
||||
- `heroku addons:add heroku-postgresql:hobby-dev`
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"name": "Snipt",
|
||||
"description": "Code snippets for teams and individuals.",
|
||||
"keywords": [
|
||||
"snipt",
|
||||
"code snippets"
|
||||
],
|
||||
"website": "https://snipt.net",
|
||||
"repository": "https://github.com/nicksergeant/snipt",
|
||||
"logo": "https://snipt.s3.amazonaws.com/logo.png",
|
||||
"success_url": "/",
|
||||
"scripts": {
|
||||
"postdeploy": "python manage.py migrate"
|
||||
},
|
||||
"env": {
|
||||
"SECRET_KEY": {
|
||||
"description": "Secret key for Django to use.",
|
||||
"generator": "secret"
|
||||
}
|
||||
},
|
||||
"addons": [
|
||||
"heroku-postgresql:hobby-dev",
|
||||
"postmark:10k",
|
||||
"searchbox"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue