-
Notifications
You must be signed in to change notification settings - Fork 0
Home
rmx edited this page May 30, 2016
·
1 revision
Progress: hacking sessions
Accounts: accounts
Ideas to premature for tickets: idea list
The following tools are required to get encounter up and running:
- node.js 0.8.x (including npm)
- IE10 developer preview, Firefox 7 or Chrome 14-21 (any later versions may work but it's not guaranteed)
After you install all dependencies (see above), use the following guide to get the code and start the server:
# Get the code
git clone [email protected]:wereHamster/encounter.git
cd encounter
# Install node packages (external dependencies)
npm install
# Adapt hostnames by adapting the hostfile (e.g. /etc/hosts)
127.0.0.1 rmx.dev
127.0.0.1 ws.rmx.dev
127.0.0.1 assets.rmx.dev
# Test the code.
make test
# Download mongodb and start it.
mkdir -p data
./bin/mongod --dbpath data &
# Seed the database with one of our sample encounters.
make seed
# Build the client and start the server, it runs on port 3000, open that url in your web browser.
make
open http://rmx.dev:3000
Register a new account on the website, log in with it. Select an encounter from the encounters list, press the play button, select a role and click the 'ready' button. The game should start in a few moments.