discourse/bin/docker
Alan Guo Xiang Tan 48c0cd5b2a
DEV: Always run bundle and yarn install while running d/boot_dev (#24453)
Why this change?

Before this change, running `d/boot_dev` does not run `bundle install`
and `yarn install` unless the `--init` option is specified. However,
this does not make sense because the user will end up having to run
`d/bundle install` and `d/yarn install` manually after if the `--init`
option is not used. We can simplify this by just always running `bundle
install` and `yarn install` whenever `d/boot_dev` is used.

What does this change do?

This change changes the `d/boot_dev` script to always run `bundle
install` and `yarn install`.
2023-11-20 10:04:55 +08:00
..
boot_dev DEV: Always run bundle and yarn install while running d/boot_dev (#24453) 2023-11-20 10:04:55 +08:00
bundle DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
cleanup DEV: Add docker cleanup script to d/ folder 2020-03-01 12:09:07 -08:00
discourse DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
ember-cli DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
exec DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
mailhog DEV: use mailhog in our docker dev environment (#14549) 2021-10-08 11:10:46 +05:30
migrate DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
psql DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
rails DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
rake DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
README.md
reset_db
rspec DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
shell DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
shell_root DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
shutdown_dev
unicorn DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00

Developing using Docker

Since Discourse runs in Docker, why not develop there? If you have Docker installed, you should be able to run Discourse directly from your source directory using a Discourse development container.

You can find installation instructions and related discussion in this meta topic:
https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009

Where is the container image/Dockerfile defined?

The Dockerfile comes from discourse/discourse_docker on GitHub, in particular image/discourse_dev.