Skip to content

Instantly share code, notes, and snippets.

@cu12
Last active March 2, 2016 21:03
Show Gist options
  • Save cu12/0511ab5eefd8599e4cc0 to your computer and use it in GitHub Desktop.
Save cu12/0511ab5eefd8599e4cc0 to your computer and use it in GitHub Desktop.
Required local modifications are in the following pull request: https://github.com/cu12/samson/pull/1
dokku apps:create samson
docker pull mysql:5.6
export MYSQL_IMAGE_VERSION="5.6"
dokku mysql:create samson
dokku mysql:link samson samson
dokku config:set samson GITHUB_TOKEN=<token> \
GOOGLE_CLIENT_ID=<clientid> \
GOOGLE_CLIENT_SECRET=<client_secret> \
# Omitting slack plugin \
PLUGINS=ALL,-slack \
RACK_ENV=production \
RAILS_ENV=production \
SECRET_TOKEN=<secret_token> \
AUTH_GITHUB=0 \
AUTH_LDAP=0 \
DATABASE_NAME=samson
deploy...
dokku run samson bundle exec rake db:setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment