Skip to content

Instantly share code, notes, and snippets.

@catwell
Last active Feb 1, 2020
Embed
What would you like to do?
Use Mercury
wget https://raw.githubusercontent.com/oploadk/localua/master/localua.sh
sh localua.sh lua 5.1.5
./lua/bin/luarocks install https://raw.githubusercontent.com/catwell/mercury/master/rockspecs/mercury-scm-0.rockspec
wget https://raw.githubusercontent.com/catwell/mercury/master/samples/greetings.lua
./lua/bin/mercury greetings
wget https://raw.githubusercontent.com/oploadk/localua/master/localua.sh
sh localua.sh lua 5.1.5
./lua/bin/luarocks install copas 1.1.6
./lua/bin/luarocks install xavante 2.2
./lua/bin/luarocks install wsapi 1.5
./lua/bin/luarocks install wsapi-xavante 1.5
./lua/bin/luarocks install https://raw.githubusercontent.com/nrk/mercury/master/rockspecs/mercury-scm-0.rockspec
wget https://raw.githubusercontent.com/nrk/mercury/master/samples/greetings.lua
./lua/bin/mercury greetings
@CaptainZidgel
Copy link

CaptainZidgel commented Feb 1, 2020

Thank you for this, works like a charm!
(Posted this here because I figured it best not to send a short thank you note to however many people are subbed to that mailing list)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment