|
|
@@ -75,6 +75,7 @@ if [[ "$OSTYPE" == darwin* ]]; then
|
|
|
pip install -r $installerpath/requirements.txt
|
|
|
else
|
|
|
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
|
|
|
+ sudo apt-get install -y libudev-dev
|
|
|
sudo apt-get install -y tmux
|
|
|
sudo apt-get install -y vim
|
|
|
sudo apt-get install -y autossh
|
|
|
@@ -122,7 +123,7 @@ npm install
|
|
|
cd $programspath/uploader
|
|
|
npm install
|
|
|
cd $programspath/ondemand
|
|
|
-npm install
|
|
|
+sudo python setup.py install
|
|
|
|
|
|
sudo npm install -g pm2
|
|
|
|
|
|
@@ -153,6 +154,15 @@ fi
|
|
|
cd $programspath/fourier-alt
|
|
|
nimble build
|
|
|
|
|
|
+# --------------------------------- #
|
|
|
+# Generación de los scripts con pm2 #
|
|
|
+# --------------------------------- #
|
|
|
+# cd $programspath
|
|
|
+# pm2 start fourier-ondemand --interpreter python --name ondemand
|
|
|
+# pm2 start server
|
|
|
+# pm2 start monitor
|
|
|
+# pm2 start uploader
|
|
|
+
|
|
|
[ ! -f "$configfile" ] && \
|
|
|
sudo python $installerpath/configure.py \
|
|
|
$installerpath/fourier-config.json \
|