|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
An AO server, or AO API server keeps track of the history of a single community. One or more users can connect to the same AO server and communicate. |
|
|
|
An AO server, or AO API server keeps track of the history of a single community. One or more users can connect to the same AO server and communicate. |
|
|
|
|
|
|
|
|
|
|
|
# Installation |
|
|
|
## Installation |
|
|
|
|
|
|
|
|
|
|
|
Use [ao-cli](https://www.npmjs.com/package/@autonomousorganization/ao-cli) to install. |
|
|
|
Use [ao-cli](https://www.npmjs.com/package/@autonomousorganization/ao-cli) to install. |
|
|
|
|
|
|
|
|
|
|
@ -17,13 +17,13 @@ npm i --force |
|
|
|
|
|
|
|
|
|
|
|
(`--force` is necessary temporarily because we are using a development version of TypeScript to make compiling simpler using a new feature.) |
|
|
|
(`--force` is necessary temporarily because we are using a development version of TypeScript to make compiling simpler using a new feature.) |
|
|
|
|
|
|
|
|
|
|
|
# Starting the server |
|
|
|
## Starting the server |
|
|
|
|
|
|
|
|
|
|
|
To start the server running, do: |
|
|
|
To start the server running, do: |
|
|
|
|
|
|
|
|
|
|
|
`npm run serve` |
|
|
|
`npm run serve` |
|
|
|
|
|
|
|
|
|
|
|
# Installing as a service |
|
|
|
## Installing as a service |
|
|
|
|
|
|
|
|
|
|
|
To run the server in the background or on system startup, install it as a systemd service. |
|
|
|
To run the server in the background or on system startup, install it as a systemd service. |
|
|
|
|
|
|
|
|
|
|
|