Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 34 lines (27 sloc) 0.703 kB
#!/bin/sh
BINURL="http://download.opalang.org/linux/opa_1.0.5%2Bbuild2988_amd64.release.run"
BINURL="http://download.opalang.org/linux/opa_1.0.4+build2441_amd64.run"
# Apparently the node available is too low for 1.0.5
# Installing OPA, first push only
if [ ! -d ~/opa ] ; then
mkdir ~/opa
wget $BINURL -O install
sh install -- ~/opa
rm install
# Install node dependencies
(cd ~ && npm install mongodb formidable nodemailer imap )
fi
# Runscript
cp run ~/
# Install the code
#cp app.opa ~/
cp -r resources ~/
cp -r src ~/
cp -r Makefile ~/
cp -r Makefile.common ~/
cp opa.conf ~/
export PATH=$PATH:${HOME}/opa/bin/
echo $PATH
which opa
# Compiling the OPA app
cd ~ && make
Jump to Line
Something went wrong with that request. Please try again.