diff --git a/README.md b/README.md index c2e9a12..53d6a1d 100644 --- a/README.md +++ b/README.md @@ -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 ` +6. `heroku run python manage.py createsuperuser` + ## Manual deploy to Heroku - Clone the repo. diff --git a/app.json b/app.json index 12b408c..c8242e0 100644 --- a/app.json +++ b/app.json @@ -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": {