Install node.js, clone the repository, then
If you want to use the database of another full node running on the same host (instead of syncing our own), open package.json file and change the package name to the name of that node (e.g. "obyte-hub", "obyte-relay", etc).
npm install
cp .env.mainnet .env
Important
Before running, read the text below
Open .env file and change EXTERNAL_FULL_NODE
to 0. Then, we'll sync our own full node.
If you are using an obyte-hub running on the same host
Open .env file and change USE_SQLITE_FOR_ASSET_METADATA
to 1.
node main.js