Created
January 22, 2013 08:02
-
-
Save dirkk0/4592910 to your computer and use it in GitHub Desktop.
Installation of BLK (https://github.com/benvanik/blk-game) on Amazon EC2(Ubuntu
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
| # install newer node | |
| sudo apt-get install python-software-properties | |
| sudo add-apt-repository ppa:chris-lea/node.js | |
| sudo apt-get update | |
| sudo apt-get install nodejs npm | |
| sudo apt-get install --yes build-essential; | |
| sudo apt-get install curl screen | |
| # ---- | |
| mkdir my-blk-server | |
| cd my-blk-server/ | |
| npm install blk-server | |
| cp node_modules/blk-server/run-server.sh . | |
| # edit run-server.sh to change options | |
| ./run-server.sh | |
| # have friends join ws://[your ip]:1338 (or whatever port you set) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment