How to setup Discourse 2.8.0 locally on macOS
git clone https://github.com/discourse/discourse.git
cd discourse
Run the following command to initialise and install the Docker image for Discourse and set up an administrator user:
d/boot_dev --init
- Note:
/d
is a symlink tobin/docker
.
Start the Rails server for Discourse:
d/rails server -b 0.0.0.0
In a separate Terminal window, start Ember:
d/ember-cli
See your local Discourse at http://localhost:4200
d/shutdown_dev
d/boot_dev