Skip to content

Commit

Permalink
Add more detailed "running locally" instrucitons
Browse files Browse the repository at this point in the history
This makes it more n00b-friendly and fixes issue inolen#4
  • Loading branch information
michaelenger committed Mar 8, 2014
1 parent 86feded commit 86496d6
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,26 @@ To note, if you're trying to run a dedicated server, the most up to date binarie

## Running locally

Install the required node.js modules:

```shell
npm install
```

Set `content.quakejs.com` as the content server:

```shell
echo '{ "content": "content.quakejs.com" }' > bin/web.json
node bin/web.js --config bin/web.json
```

Run the server:

```shell
node bin/web.js --config ./web.json
```

Your server is now running on: [http://0.0.0.0:8080](http://0.0.0.0:8080)


## Running a dedicated server

Expand Down

0 comments on commit 86496d6

Please sign in to comment.