KarmaNotes.org v3.0 (mirror)

Bryan 6c365dd724 periodic tasks should not build up over time há 9 anos atrás
docs 5327be4790 Create README.md há 10 anos atrás
karmaworld 6c365dd724 periodic tasks should not build up over time há 9 anos atrás
var c71d744c33 Removing unused directory há 11 anos atrás
.env.example 048451fb44 no longer wish to imply Google Apps is required. há 9 anos atrás
.foreman 11676a1f71 Reconfiguring Procfile closes #415, also closes #413 há 9 anos atrás
.gitignore a0a769cb70 Delete Vagrant related things, and supervisord related things. Update README há 10 anos atrás
License bac580c9e6 adding AGPL license to karmaworld há 11 anos atrás
Procfile 11676a1f71 Reconfiguring Procfile closes #415, also closes #413 há 9 anos atrás
README.heroku d2ffd778bd moved Heroku buildpack, added config for it, referenced external docs há 10 anos atrás
README.md f28e49ab89 Filepicker signup updates há 9 anos atrás
database_backup.sh aa30862385 Fix backup script há 10 anos atrás
dicthelpers.py a583f311a0 making fabric better for VM deployment and btw #335 há 10 anos atrás
dicthelperstest.py a583f311a0 making fabric better for VM deployment and btw #335 há 10 anos atrás
export_env_to_heroku.py e8f3f55ff7 small fix to prevent strings for being literally quoted há 9 anos atrás
manage.py a0a769cb70 Delete Vagrant related things, and supervisord related things. Update README há 10 anos atrás
requirements-dev.txt aa3b27296d Migrate secrets to environment variables há 10 anos atrás
requirements.txt ceb8e737cd 3.0.25 was not found on Heroku há 9 anos atrás
run_with_env.py a4dae2dfbe make more use of the .env file on diverse systems há 9 anos atrás
runtime.txt 6a77d222c5 Heroku conversion step 2 há 10 anos atrás

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`