Initializing Vagrant Boxes
In this section:
IntelliJ IDEA makes it possible to execute the
init procedure on a project root.
init on a project root, the Vagrant configuration file named
Vagrantfile is created there. This file can be used for creating a remote interpreter.
To initialize a Vagrant box in a project root
- On the main menu, choose .
- In the Select Vagrant Folder pop-up menu, select the project root to be used:
- Since it is possible to have multiple virtual boxes, specify the particular box you want to work with:
If the Vagrant executable is not specified in the Vagrant page, you can still initialize a Vagrant box. However, in this situation, IntelliJ IDEA pops up a file browser, enabling you to select Vagrant executable.
init is successfully completed, you are ready to perform
vagrant up command and import to the root the box used at initialization.