Standalone AO API server written in TypeScript. Use @autonomousorganization/ao-cli to install and run as a service.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
deicidus deb372409c switched common files to separate git project ao\-lib included via subtree 6 months ago
src switched common files to separate git project ao\-lib included via subtree 6 months ago
.gitignore added npm run serve 6 months ago
LICENSE initial commit of standalone server 6 months ago
README.md added npm commands for keeping subtree updated 6 months ago
package-lock.json removed unneeded dependency and moved all to dev dependencies 6 months ago
package.json added npm commands for keeping subtree updated 6 months ago
tsconfig.json added npm run serve 6 months ago

README.md

AO API Server (ao-server)

The AO API server (or 'AO 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 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).