From d2ffd778bd2270da838d8aa55f38fcb6b0e5792f Mon Sep 17 00:00:00 2001 From: Bryan Bonvallet Date: Wed, 11 Jun 2014 12:03:22 -0400 Subject: [PATCH] moved Heroku buildpack, added config for it, referenced external docs --- .env.example | 4 ++++ README.heroku | 11 +++++++++-- README.md | 4 ++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 2e15d26..95a8ec7 100644 --- a/.env.example +++ b/.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 diff --git a/README.heroku b/README.heroku index 562cf9e..59f6596 100644 --- a/README.heroku +++ b/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:.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. diff --git a/README.md b/README.md index 01b994f..b06d85b 100644 --- a/README.md +++ b/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 -- 2.25.1