Remove Docker dev-install instructions
To have a single source of truth for these install instructions in here: https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009
This commit is contained in:
parent
45f299dfdd
commit
10723ba1c2
|
@ -2,37 +2,8 @@
|
|||
|
||||
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.
|
||||
|
||||
## Step-by-step
|
||||
|
||||
It should be as easy as (from your source root):
|
||||
|
||||
```sh
|
||||
./bin/docker/boot_dev --init
|
||||
# wait while:
|
||||
# - dependencies are installed,
|
||||
# - the database is migrated, and
|
||||
# - an admin user is created (you'll need to interact with this)
|
||||
|
||||
./bin/docker/rails s
|
||||
```
|
||||
|
||||
... then open a browser on http://localhost:3000 and _voila!_, you should see Discourse.
|
||||
|
||||
When you're done, you can kill the Docker container with:
|
||||
|
||||
```sh
|
||||
./bin/docker/shutdown_dev
|
||||
```
|
||||
|
||||
Note that data is persisted between invocations of the container in your source root `tmp/postgres` directory.
|
||||
|
||||
If for any reason you want to reset your database run
|
||||
|
||||
```sh
|
||||
sudo rm -fr tmp/postgres
|
||||
```
|
||||
|
||||
## Other Notes
|
||||
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?
|
||||
|
||||
|
|
Loading…
Reference in New Issue