aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 6cd303b77330f8fbe528698ebcad57e56a4f0e32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# webAO

This is a client for the Attorney Online roleplaying chatroom written in HTML and JavaScript.
It works with any AO server if it has WebSocket support.

Link to the client in this repo: <http://web.aceattorneyonline.com/>

## Project Setup

- Install [Node JS](https://nodejs.org/en/)
- Install nvm | [Windows](https://github.com/coreybutler/nvm-windows) , [Linux](https://github.com/nvm-sh/nvm)

## Running Locally on Windows

1. Look at the file version in `.nvmrc` and run `nvm use <VERSION NUMBER>`
2. `npm install`
3. `npm run start`

## Running Locally on Linux

1. `npm use`
2. `npm install`
3. `npm run start`

## Running with Docker

`docker build -t webao .`

`docker run -d -it -p 8080:8080 webao`