[fix] Use vanilla markdown.

This commit is contained in:
opi 2016-05-03 14:32:53 +02:00
parent e0c7acb75e
commit 707162eb79

View file

@ -28,22 +28,20 @@ helper to run a Vagrant virtual machine in the right place.
### Create the environment ### Create the environment
```shell
ynh-dev create-env /path/to/dev/env ynh-dev create-env /path/to/dev/env
```
### Run a container ### Run a container
```
cd /path/to/dev/env cd /path/to/dev/env
ynh-dev run ynh.local testing ynh-dev run ynh.local testing
```
You'll be automatically logged in the VM through ssh. You'll be automatically logged in the VM through ssh.
You probably wan't to run the postinstall now: You probably wan't to run the postinstall now:
```bash
(sudo) yunohost tools postinstall (sudo) yunohost tools postinstall
```
## Inside the Virtual machine (VM) ## Inside the Virtual machine (VM)
@ -53,42 +51,37 @@ advantages of the `ynh-dev` script.
### Upgrade the container ### Upgrade the container
It will update every debian packages. It will update every debian packages.
```
/vagrant/ynh-dev upgrade /vagrant/ynh-dev upgrade
```
### Use Git repositories ### Use Git repositories
When doing `create-env` command, every YunoHost package have been cloned in the When doing `create-env` command, every YunoHost package have been cloned in the
corresponding path. Use these Git repositories inside the VM (with symlink). corresponding path. Use these Git repositories inside the VM (with symlink).
Your changes will be available immediatly in your VM. Your changes will be available immediatly in your VM.
```
/vagrant/ynh-dev use-git /vagrant/ynh-dev use-git
```
***Note***: These changes can be reverted now. ***Note***: These changes can be reverted now.
Alternatively you can use Git only for one packages (ssowat, yunohost, Alternatively you can use Git only for one packages (ssowat, yunohost,
moulinette, yunohost-admin) moulinette, yunohost-admin)
```
/vagrant/ynh-dev use-git PACKAGE_NAME /vagrant/ynh-dev use-git PACKAGE_NAME
```
### Deploy your change ### Deploy your change
```
/vagrant/ynh-dev deploy /vagrant/ynh-dev deploy
```
### Deploy your change in realtime (each time you saved source code) ### Deploy your change in realtime (each time you saved source code)
```
/vagrant/ynh-dev watch /vagrant/ynh-dev watch
```
### Get ip address of your vm ### Get ip address of your vm
```
/vagrant/ynh-dev ip /vagrant/ynh-dev ip
```
## More info ## More info
https://yunohost.org/#/dev_fr (french) [yunohost.org/dev_fr](https://yunohost.org/dev_fr) (in french)