Permalink
Browse files

Readme and postdeploy.

  • Loading branch information...
nicksergeant committed Nov 30, 2016
1 parent 085c6f4 commit e279e49f520e246272d9936677b721555db6b359
Showing with 14 additions and 1 deletion.
  1. +13 −0 README.md
  2. +1 −1 app.json
View
@@ -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
@@ -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": {

0 comments on commit e279e49

Please sign in to comment.