1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Accurante build command

This commit is contained in:
J. Fernando Lagrange 2017-07-18 02:11:44 +02:00
parent edddbdb1d0
commit 05d8d5624c

View file

@ -25,7 +25,7 @@ app=$YNH_APP_INSTANCE_NAME
sudo git clone https://framagit.org/bnjbvr/kresus.git $src_path sudo git clone https://framagit.org/bnjbvr/kresus.git $src_path
sudo mkdir -p $src_path $src_path/node_modules sudo mkdir -p $src_path $src_path/node_modules
sudo npm install --prefix $src_path $src_path sudo npm install --prefix $src_path $src_path
sudo $src_path/scripts/build.sh sudo sh -c "cd $src_path && ./scripts/build.sh"
# Modify Nginx configuration file and copy it to Nginx conf directory # Modify Nginx configuration file and copy it to Nginx conf directory
nginx_conf=../conf/nginx.conf nginx_conf=../conf/nginx.conf