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 23 lines (17 sloc) 0.454 kB
#!/bin/sh
BINURL="http://download.opalang.org/linux/opa_1.0.5+build2988_amd64.release.run"
VERSION="1.0.5"
# Installing OPA, first push only
if [ ! -d ~/opa ] ; then
mkdir ~/opa
wget $BINURL -O install
sh install -- ~/opa
# Install node dependencies
(cd ~ && npm install mongodb formidable nodemailer imap)
fi
# Runscript
cp run ~/
# Install the code
cp app.opa ~/
# Compiling the OPA app
cd ~ && ./opa/bin/opa app.opa -o app.js
Jump to Line
Something went wrong with that request. Please try again.