Skip to content

Instantly share code, notes, and snippets.

@dirkk0
Created January 22, 2013 08:02
Show Gist options
  • Select an option

  • Save dirkk0/4592910 to your computer and use it in GitHub Desktop.

Select an option

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
# 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