Install from tar

This commit is contained in:
yalh76
2019-02-11 11:12:26 +01:00
parent 4d32fdf9f7
commit 5f22ab4da2
4 changed files with 7 additions and 18 deletions

View File

@@ -89,12 +89,7 @@ path_url=$(ynh_normalize_url_path $path_url)
ynh_print_info "Download, check and unpack source"
# Download, check integrity, uncompress and patch the source from app.src
#ynh_setup_source "$final_path"
pushd $final_path
git fetch origin
git checkout "tags/2.0.0-beta.33" --quiet
popd
ynh_setup_source "$final_path"
#=================================================
# NGINX CONFIGURATION
@@ -114,7 +109,7 @@ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/source
ynh_install_nodejs 10
ynh_install_app_dependencies redis-server postgresql postgresql-contrib yarn
ynh_install_app_dependencies yarn redis-server postgresql postgresql-contrib build-essential
#=================================================
# CREATE DEDICATED USER