mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Merge branch 'master' into enh-vuejs
This commit is contained in:
commit
5cd45f12ae
2 changed files with 20 additions and 4 deletions
|
@ -17,6 +17,7 @@ Please report issues on the following repository:
|
||||||
* [4. Testing the web interface](#4-testing-the-web-interface)
|
* [4. Testing the web interface](#4-testing-the-web-interface)
|
||||||
* [Advanced: using snapshots](#advanced-using-snapshots)
|
* [Advanced: using snapshots](#advanced-using-snapshots)
|
||||||
* [Alternative: Only Virtualbox](#alternative-using-only-virtualbox)
|
* [Alternative: Only Virtualbox](#alternative-using-only-virtualbox)
|
||||||
|
* [Troubleshooting](#troubleshooting)
|
||||||
|
|
||||||
- [Remote Development Environment](#remote-development-environment)
|
- [Remote Development Environment](#remote-development-environment)
|
||||||
* [1. Setup your VPS and install YunoHost](#1-setup-your-vps-and-install-yunohost)
|
* [1. Setup your VPS and install YunoHost](#1-setup-your-vps-and-install-yunohost)
|
||||||
|
@ -225,6 +226,13 @@ this repository. This is a known working setup used by some developers. Please
|
||||||
see the ["virtualbox" branch](https://github.com/YunoHost/ynh-dev/tree/virtualbox#develop-on-your-local-machine)
|
see the ["virtualbox" branch](https://github.com/YunoHost/ynh-dev/tree/virtualbox#develop-on-your-local-machine)
|
||||||
for more.
|
for more.
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
If you experiment network issues with your lxd during rebuild container steps. Probably your container are not able to get a local IP with DHCP.
|
||||||
|
|
||||||
|
It could be due to bridge conflict (for example if you have lxc installed too) or dnsmasq port already used.
|
||||||
|
|
||||||
|
This [ticket](https://github.com/YunoHost/issues/issues/1664) could help.
|
||||||
|
|
||||||
# Remote Development Environment
|
# Remote Development Environment
|
||||||
|
|
||||||
Here is the development flow:
|
Here is the development flow:
|
||||||
|
|
16
ynh-dev
16
ynh-dev
|
@ -219,10 +219,16 @@ function show_vm_ip()
|
||||||
function use_git()
|
function use_git()
|
||||||
{
|
{
|
||||||
assert_inside_vm
|
assert_inside_vm
|
||||||
local PACKAGES="$@"
|
local PACKAGES=("$@")
|
||||||
for PACKAGE in "$PACKAGES";
|
|
||||||
|
if [ "$PACKAGES" = "" ]
|
||||||
|
then
|
||||||
|
PACKAGES=('moulinette' 'ssowat' 'yunohost' 'yunohost-admin')
|
||||||
|
fi
|
||||||
|
|
||||||
|
for i in ${!PACKAGES[@]};
|
||||||
do
|
do
|
||||||
case $PACKAGE in
|
case ${PACKAGES[i]} in
|
||||||
ssowat)
|
ssowat)
|
||||||
create_sym_link "/ynh-dev/ssowat" "/usr/share/ssowat"
|
create_sym_link "/ynh-dev/ssowat" "/usr/share/ssowat"
|
||||||
success "Now using Git repository for SSOwat"
|
success "Now using Git repository for SSOwat"
|
||||||
|
@ -395,6 +401,8 @@ EOF
|
||||||
systemctl reload nginx
|
systemctl reload nginx
|
||||||
cd /ynh-dev/yunohost-admin-vue/app/
|
cd /ynh-dev/yunohost-admin-vue/app/
|
||||||
npm run serve
|
npm run serve
|
||||||
|
*)
|
||||||
|
error "Invalid package '${PACKAGES[i]}': correct arguments are 'yunohost', 'ssowat', 'moulinette', 'yunohost-admin' or nothing for all"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -455,4 +463,4 @@ function run_tests()
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main $@
|
||||||
|
|
Loading…
Add table
Reference in a new issue