Run an OlaOS Node
Run database in docker
OlaOS relies on the local Postgres database as the underlying persistence layer. The database needs to be started before running the node. It is recommended to use a docker container to run the database.
The init_db script will check whether sql and sqlx have been installed, then configure the database name, port and other information, and start the database in a docker container. When the database is started successfully, the script will use sqlx to automatically migrate all database operations.
Run OlaOS in docker
Compile docker image for OlaOS:
Run the generated docker image:
Last updated