====Devel environment Install==== * Install oar-docker (follow [[oar3_dev_with_oar_docker]]) * Start and connect on frontend: 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 <> /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