Skip to content

Instantly share code, notes, and snippets.

@grimen
Created February 5, 2016 07:43
Show Gist options
  • Save grimen/428fa7b41ed07936c68e to your computer and use it in GitHub Desktop.
Save grimen/428fa7b41ed07936c68e to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
# Install Luvit
cd /
curl -L https://github.com/luvit/lit/raw/master/get-lit.sh | sh
/lit make lit://luvit/luvit
# Get example script
curl -O https://gist.githubusercontent.com/grimen/8163a5177e9e8603b1b6/raw/5cade52f6703eb99f7afff41035f5d99f5f7c9bf/luvit.lua
# Run Luvit REPL (Lua interpreter with Luvit)
# /luvit
# Run Luvit server
# /luvit luvit.lua
# Open separatly to test: http://127.0.0.1:1337/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment