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 1c2aa49a7e added npm commands for keeping subtree updated 3 years ago
src Merge commit '034ab2e82e3825134215131b60ad7d1d531254e7' as 'src/ao-lib' 3 years ago
.gitignore added npm run serve 3 years ago
LICENSE initial commit of standalone server 3 years ago
README.md added npm commands for keeping subtree updated 3 years ago
package-lock.json removed unneeded dependency and moved all to dev dependencies 3 years ago
package.json added npm commands for keeping subtree updated 3 years ago
tsconfig.json added npm run serve 3 years 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).