Skip to content

dylanegan/manifesto

Repository files navigation

Manifesto

Build Status

The preamble to the main text of the Manifesto states that the continent of Europe fears the "spectre of communism", and the powers of old Europe are uniting in "a holy alliance [intended to] exorcise this spectre". Marx refers here to not only the houses of power and landed gentry of old Europe--the bourgeoisie--but diverse factions such as the papacy and the emerging corporate world as well.

Deployment

heroku create --stack cedar
heroku addons:add heroku-postgresql:dev
heroku config:add AWS_ACCESS_KEY_ID=...
heroku config:add AWS_SECRET_ACCESS_KEY=...
heroku config:add S3_BUCKET=...
heroku config:add ENABLE_SSL_ENFORCER=true
heroku config:add PRIVATE_MANIFESTS=true
heroku config:add GOOGLE_OAUTH_DOMAIN=...
heroku config:add RACK_COOKIE_SECRET=...
git push heroku master
heroku run migrations
heroku ps:scale web=1

Environment

  • AWS_ACCESS_KEY_ID: your AWS access key ID
  • AWS_SECRET_ACCESS_KEY: your AWS secret access key
  • S3_BUCKET: your S3 bucket name where you wish to store the manifests
  • ENABLE_SSL_ENFORCER: force SSL only
  • GOOGLE_OAUTH_DOMAIN: your Google oAuth domain
  • PRIVATE_MANIFESTS: set this to keep your manifests private
  • RACK_COOKIE_SECRET: to keep your cookies from the monsters

File/bytea type field compatability issue

There is an issue with File/bytea type fields when using an older version of the postgres client with a new postgres database. If you are having trouble getting things to work properly you can try reverting the bytea_output behavior to 'escape'.

heroku run bytea_output_fix

About

S3 backed manifests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages