Last active
May 24, 2018 15:19
-
-
Save silentHoo/94a18b2e3d70ec0283bec91359965d37 to your computer and use it in GitHub Desktop.
This is how you start a Discourse stack with Bitnamis compose file and add a plugin to it
This file contains hidden or 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
# if you use https://github.com/bitnami/bitnami-docker-discourse for your Discourse setup | |
# you can simply add some plugins (https://meta.discourse.org/c/plugin): | |
# 0) Clone docker-compose.yml | |
curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-discourse/master/docker-compose.yml > docker-compose.ym | |
# 1) Start Docker Compose | |
docker-compose up | |
# 2) Join container | |
docker exec -it discourse_discourse_1 bash | |
# 3) cd into discourse path and execute the following rake tasks: | |
cd /opt/bitnami/discourse | |
RAILS_ENV=production bundle exec rake plugin:install repo=https://github.com/discourse/discourse-solved | |
RAILS_ENV=production bundle exec rake assets:precompile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment