mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
[doc] document other common operations with vagrant
This commit is contained in:
parent
bc7c10bd10
commit
ab8c88962e
1 changed files with 22 additions and 0 deletions
22
README.md
22
README.md
|
@ -193,6 +193,28 @@ cd /path/to/dev/env
|
||||||
vagrant halt stretch-unstable
|
vagrant halt stretch-unstable
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 7. Other common operation
|
||||||
|
|
||||||
|
There are several other operations that you might want to perform directly
|
||||||
|
using Vagrant. All those operation needs to be done in the environment (where
|
||||||
|
the VagrantFile is located).
|
||||||
|
|
||||||
|
Show vagrant commands:
|
||||||
|
|
||||||
|
vagrant
|
||||||
|
|
||||||
|
See all running boxes:
|
||||||
|
|
||||||
|
vagrant status
|
||||||
|
|
||||||
|
Open a terminal on a running box:
|
||||||
|
|
||||||
|
vagrant ssh stretch-unstable
|
||||||
|
|
||||||
|
Start a box (only do that after the boxe as already been created by ynh-dev)
|
||||||
|
|
||||||
|
vagrant up stretch-unstable
|
||||||
|
|
||||||
## Develop on a remote server
|
## Develop on a remote server
|
||||||
|
|
||||||
Firstly, you need to understand that it is a dev tool : you shouldn't run it on a production environment !
|
Firstly, you need to understand that it is a dev tool : you shouldn't run it on a production environment !
|
||||||
|
|
Loading…
Reference in a new issue