Browse Source

moved Heroku buildpack, added config for it, referenced external docs

Bryan Bonvallet 10 years ago
parent
commit
d2ffd778bd
3 changed files with 15 additions and 4 deletions
  1. 4 0
      .env.example
  2. 9 2
      README.heroku
  3. 2 2
      README.md

+ 4 - 0
.env.example

@@ -28,3 +28,7 @@ CELERY_QUEUE_NAME='karmanotes_celery'
 
 DJANGO_SETTINGS_MODULE='karmaworld.settings.dev'
 #DJANGO_SETTINGS_MODULE='karmaworld.settings.prod'
+
+BUILDPACK_URL='https://github.com/FinalsClub/heroku-buildpack-karmanotes'
+
+BROKER_POOL_LIMIT=1

+ 9 - 2
README.heroku

@@ -1,6 +1,8 @@
 Checkout the karmanotes repository locally.
 
-Create Heroku app from either the web interface or the CLI. See Heroku documentation for more information.
+Create Heroku app from either the web interface or the CLI. See Heroku
+documentation for more information at 
+`https://devcenter.heroku.com/articles/getting-started-with-django`
 
 From the settings page for the Heroku app, find the Git URL and copy it.
 
@@ -9,7 +11,12 @@ Install the Heroku CLI. Make sure to configure the Heroku CLI tool with `heroku
 In the karmanotes repository:
 `git remote add my-heroku-dev git@heroku.com:<your-project-name>.git`
 
-Create a Heroku database either from the web interface or the CLI. Look for the Dev Plan (its free). Once created, keep track of its connection settings for the configuration step.
+Create a Heroku database either from the web interface or the CLI by adding
+a Postgres Add-On to the Heroku App. Look for the Dev Plan (its free). Once
+created, click through the add-on until the connection settings are found
+for the app's database. Keep track of URL in the connection settings for the
+configuration step. It'll be pasted into the `DATABASE_URL` environment
+variable.
 
 Configure the application by copying `${project_root}/.env.example` to `${project_root}/.env` and edit it appropriately for all external dependencies.
 

+ 2 - 2
README.md

@@ -295,8 +295,8 @@ KarmaNotes is a Heroku application. Download the [Heroku toolbelt](https://toolb
 
 To run KarmaNotes on Heroku, do `heroku create` and `git push heroku master` as typical
 for a Heroku application. Set your the variable `BUILDPACK_URL` to
-`https://github.com/charlesconnell/heroku-buildpack-karmanotes` to use a buildpack designed
-to support KarmaNotes.
+`https://github.com/FinalsClub/heroku-buildpack-karmanotes` to use a buildpack
+designed to support KarmaNotes.
 
 You will need to import the US Department of Education's list of accredited schools.
    1. Fetch USDE schools with