mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 21:33:43 +08:00
f9247dabcc
The `-depth` flag is incorrect on Linux, it does not take an argument and causes an error and results in no plugins ever being found. Copied from `man find`: ``` The global options occur after the list of start points, and so are not the same kind of option as -L, for example. -d A synonym for -depth, for compatibility with FreeBSD, NetBSD, MacOS X and OpenBSD. -depth Process each directory's contents before the directory itself. The -delete action also implies -depth. ... -maxdepth levels Descend at most levels (a non-negative integer) levels of directories below the starting-points. Using -maxdepth 0 means only apply the tests and actions to the starting-points themselves. ``` |
||
---|---|---|
.. | ||
boot_dev | ||
bundle | ||
cleanup | ||
discourse | ||
ember-cli | ||
exec | ||
mailcatcher | ||
migrate | ||
psql | ||
rails | ||
rake | ||
README.md | ||
reset_db | ||
rspec | ||
shell | ||
shell_root | ||
shutdown_dev | ||
unicorn |
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.