Created
February 5, 2016 07:43
-
-
Save grimen/428fa7b41ed07936c68e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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