Readme and postdeploy.

master
Nick Sergeant 2016-11-29 23:23:02 -05:00
parent 085c6f4fd8
commit e279e49f52
2 changed files with 14 additions and 1 deletions

View File

@ -6,6 +6,19 @@ You can click the button below to automatically deploy Snipt to Heroku.
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/nicksergeant/snipt)
#### Importing your snipts from Snipt.net
If you would like to import your snipts from Snipt.net before the service
closes on December 31st, 2016, follow these steps:
1. Deploy your own instance of Snipt using the "Deploy to Heroku" button
above.
2. Download the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) and set it up.
3. `git clone https://github.com/nicksergeant/snipt`
4. `cd snipt`
5. `heroku git:remote -a <your-heroku-app-name>`
6. `heroku run python manage.py createsuperuser`
## Manual deploy to Heroku
- Clone the repo.

View File

@ -10,7 +10,7 @@
"logo": "https://snipt.s3.amazonaws.com/logo.png",
"success_url": "/",
"scripts": {
"postdeploy": "python manage.py migrate && python manage.py createsuperuser"
"postdeploy": "python manage.py migrate"
},
"env": {
"SECRET_KEY": {