Skip to content

DiscourseΒΆ

https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247

Log: /var/discourse/shared/standalone/log/rails/production.log

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
Usage: launcher COMMAND CONFIG [--skip-prereqs] [--docker-args STRING]
Commands:
    start:      Start/initialize a container
    stop:       Stop a running container
    restart:    Restart a container
    destroy:    Stop and remove a container
    enter:      Use nsenter to get a shell into a container
    logs:       View the Docker logs for a container
    bootstrap:  Bootstrap a container for the config based on a template
    rebuild:    Rebuild a container (destroy old, bootstrap, start new)
    cleanup:    Remove all containers that have stopped for > 24 hours

Options:
    --skip-prereqs             Don't check launcher prerequisites
    --docker-args              Extra arguments to pass when running docker

Manually create admin:

1
2
3
cd /var/discourse
./launcher enter app
rake admin:create

Upgrade: http://172.17.0.1/admin/upgrade

Drupal Integration:

  • https://www.drupal.org/project/discourse
  • https://www.drupal.org/project/discourse_sso
  • https://www.drupal.org/node/2880123#comment-12312794