From e46ae00395e84165026ae285418fd0d639c5dbd9 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Mon, 16 Oct 2017 17:45:19 +0200 Subject: [PATCH] Update install --- scripts/install | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/scripts/install b/scripts/install index d4a6eb8..6a0a06e 100644 --- a/scripts/install +++ b/scripts/install @@ -77,31 +77,19 @@ ynh_app_setting_set $app port $port # INSTALL NODEJS #================================================= -ynh_install_nodejs 4 +ynh_install_nodejs 6.0.0 #================================================= # INSTALL DEPENDENCIES #================================================= apt-get -yy install redis-server -#================================================= -# CREATE A MYSQL DATABASE -#================================================= -# If your app uses a MySQL database, you can use these lines to bootstrap -# a database, an associated user and save the password in app settings - -db_name=$(ynh_sanitize_dbid $app) -ynh_app_setting_set $app db_name $db_name -ynh_mysql_setup_db $db_name $db_name - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= ynh_app_setting_set $app final_path $final_path -# Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source "$final_path" ynh_use_nodejs -npm install +npm install -g ethercalc #================================================= # NGINX CONFIGURATION #=================================================