Devel environment Install

oardocker start -n 2 -v ~/git/oar-skylight/:/home/docker/oar-skylight
oardocker connect frontend
sudo apt-get update
# repeat if warnings occur
sudo apt-get install -t testing libc-ares2 libssl1.0-dev
sudo apt-get install -t experimental nodejs nodejs-dev
sudo apt-get install npm
sudo ln -s /usr/bin/nodejs /usr/local/bin/node

* Update npm

sudo npm install -g npm
sudo npm install -g npm #2 times!

* Install typescript

sudo npm install -g typescript

* Install oar-skylight

cd ~/oar-skylight
npm install

* Add into apache config:

$ sudo su -
# cat <<EOF >> /etc/apache2/conf-enabled/oar-restful-api.conf
ProxyPass "/oarapi" "!"               
ProxyPass "/oarapi-priv" "!"          
ProxyPass "/oarapi-public" "!"        
ProxyPass "/" "http://127.0.0.1:6669/"
EOF
# systemctl stop apache2
# systemctl start apache2
# # Check if apache has actualy been restarted (occasionnaly may be locked in "apachectl start"...)
# exit

* Start oar-skylight

npm start -- --port 6669

* Point your browser to http://localhost:46668/ and logon with docker/docker

wiki/oar_skylight.txt · Last modified: 2017/02/22 13:55 by bzizou
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki