KarmaNotes.org v3.0 (mirror)

Bryan Bonvallet d2ffd778bd moved Heroku buildpack, added config for it, referenced external docs před 10 roky
docs 4ace93c763 converting rST to markdown, closing #179 před 10 roky
karmaworld 94b2446200 WIP on more HIT tracking před 10 roky
var c71d744c33 Removing unused directory před 10 roky
.env.example d2ffd778bd moved Heroku buildpack, added config for it, referenced external docs před 10 roky
.foreman aa3b27296d Migrate secrets to environment variables před 10 roky
.gitignore a0a769cb70 Delete Vagrant related things, and supervisord related things. Update README před 10 roky
License bac580c9e6 adding AGPL license to karmaworld před 10 roky
Procfile 1b8a750cde new relic support před 10 roky
Procfile-development aa3b27296d Migrate secrets to environment variables před 10 roky
README.heroku d2ffd778bd moved Heroku buildpack, added config for it, referenced external docs před 10 roky
README.md d2ffd778bd moved Heroku buildpack, added config for it, referenced external docs před 10 roky
celerywrapper.sh 6365a208b4 Improve celery wrapper script před 10 roky
database_backup.sh aa30862385 Fix backup script před 10 roky
dicthelpers.py a583f311a0 making fabric better for VM deployment and btw #335 před 10 roky
dicthelperstest.py a583f311a0 making fabric better for VM deployment and btw #335 před 10 roky
export_env_to_heroku.py 68f0f0340d manage commented out variables properly před 10 roky
manage.py a0a769cb70 Delete Vagrant related things, and supervisord related things. Update README před 10 roky
requirements-dev.txt aa3b27296d Migrate secrets to environment variables před 10 roky
requirements.txt 1b8a750cde new relic support před 10 roky
runtime.txt 6a77d222c5 Heroku conversion step 2 před 10 roky

README.heroku

Checkout the karmanotes repository locally.

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.

Install the Heroku CLI. Make sure to configure the Heroku CLI tool with `heroku login`.

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 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.

Push the configuration to Heroku by running the handy script. `python export_env_to_heroku.py`

Push the app to Heroku with git. `git push my-heroku-dev master`