Asphere-xyz / bas-devnet-setup

13 stars 43 forks source link

BAS DevNet Setup

This repository contains scripts for running an independent instance of BAS.

Before running command you must do following steps:

Config structure:

You can check Makefile to choose the most interesting commands, but if you just need to set up everything just run next command:

apt update
apt install -y build-essential socat
git clone https://github.com/Ankr-network/bas-devnet-setup bas --recursive
cd bas
make install-docker
make install-acme
export CHAIN_ID=14000
export DOMAIN_NAME=dev-01.bas.ankr.com
make all

P.S: Variable DOMAIN_NAME should be set to your domain

Deployed services can be access though next endpoints:

If you want to run node w/o load balancer and SSL certificates then use next command:

CHAIN_ID=14000 make create-genesis start

Docker compose files exposes next ports: