Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.11 KB

File metadata and controls

59 lines (36 loc) · 1.11 KB

Deployment Guide

This guide will get your process up and running on AO, providing step-by-step instructions for deploying your application.

Prerequisites

Before deploying, ensure you have Node.js installed. You can use the following command to set up your environment automatically:

make setup

Or refer to the Node.js Installation Guide.

Installing AOS and Dependencies

To install AOS along with all necessary dependencies, run the following command:

make install

This command will set up everything you need, including AOS, LuaRocks, and Node.js dependencies.

Build the Project

Run the following command to build the project:

make build

Deployment

AOS Native

Start AOS with the following command:

aos

Load the Bundled Process

To load the bundled process, execute:

.load process.lua

Makefile

As an alternative to the manual steps above, you can use the following command to automate the deployment process:

make deploy

This command will start AOS and load the bundled process automatically.