deicidus
2 years ago
5 changed files with 74 additions and 1406 deletions
@ -1,4 +1,30 @@
|
||||
# Top cleanup in this codebase |
||||
- Replace configuration.js with .env file (loaded automatically by Vite) |
||||
- Figure out why the client can't contact the server |
||||
- Fix 801 TypeScript errors on server |
||||
# AO API Server (ao-server) |
||||
|
||||
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 |
||||
|
||||
Use [ao-cli](https://www.npmjs.com/package/@autonomousorganization/ao-cli) to install. |
||||
|
||||
If installing manually: |
||||
|
||||
``` |
||||
cd ~ |
||||
git clone http://git.coalitionofinvisiblecolleges.org:3009/autonomousorganization/ao-server.git |
||||
cd ao-server |
||||
npm i --force |
||||
``` |
||||
|
||||
(`--force` is necessary temporarily because we are using a development version of TypeScript to make compiling simpler using a new feature.) |
||||
|
||||
# Starting the server |
||||
|
||||
To start the server running, do: |
||||
|
||||
`npm run serve` |
||||
|
||||
# Installing as a service |
||||
|
||||
To run the server in the background or on system startup, install it as a systemd service. |
||||
|
||||
Use `ao-cli` to do this; it has have an easy menu option built in for this (very soon). |
Loading…
Reference in new issue