Last active
March 2, 2016 21:03
-
-
Save cu12/0511ab5eefd8599e4cc0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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