2024-03-12 19:55:37 +01:00
|
|
|
If you ever want to recreate your development environment again from
|
2024-07-04 12:33:43 +02:00
|
|
|
scratch (e.g., to test a change you've made to the provisioning
|
2024-03-12 19:55:37 +01:00
|
|
|
process, or because you think something is broken), you can do so
|
|
|
|
using `vagrant destroy` and then `vagrant up`. This will usually be
|
|
|
|
much faster than the original `vagrant up` since the base image is
|
|
|
|
already cached on your machine (it takes about 5 minutes to run with a
|
|
|
|
fast Internet connection).
|
|
|
|
|
2024-07-04 12:33:43 +02:00
|
|
|
Any additional programs (e.g., Zsh, emacs, etc.) or configuration that
|
2024-03-12 19:55:37 +01:00
|
|
|
you may have installed in the development environment will be lost
|
|
|
|
when you recreate it. To address this, you can create a script called
|
|
|
|
`tools/custom_provision` in your Zulip Git checkout; and place any
|
|
|
|
extra setup commands there. Vagrant will run `tools/custom_provision`
|
|
|
|
every time you run `vagrant provision` (or create a Vagrant guest via
|
|
|
|
`vagrant up`).
|