Dev environement wrapper, based on Incus, to develop on YunoHost
Find a file
2016-01-31 01:03:25 +01:00
LICENSE Initial commit 2015-10-11 19:41:59 +02:00
README.md [enh] Add doc 2016-01-30 22:38:29 +01:00
ynh-dev Merge branch 'master' of https://github.com/YunoHost/ynh-dev 2016-01-31 01:03:25 +01:00

ynh-dev, a yunohost dev env

This script is a cli to manage a yunohost development environement. With this you can develop on the unstable version of yunohost quickly.

Setup

Install dependencies

# Debian, Ubuntu, Mint
sudo apt-get install docker vagrant
# Fedora
sudo dnf install docker vagrant vagrant-libvirt

Next upload ynh-dev script

wget https://raw.githubusercontent.com/zamentur/yunohost-development/master/ynh-dev
chmod u+x ynh-dev

Usage

Create the environment

ynh-dev create-env PATH

Run a container

ynh-dev run ynh.local virtualbox testing8

Upgrade the container

ynh-dev upgrade

Deploy your change

ynh-dev deploy

Deploy your change in realtime (each time you saved source code)

ynh-dev watch

Useful command

Get ip address of your vm

ynh-dev ip

Get ip address of your vm

ynh-dev ip

More info

https://yunohost.org/#/dev_fr