Please install node dependencies as follows:
npm install
Please copy the sample.env file and rename into .env and complete the configurations for http and mqtt
MQTT_HOST=mqtt://localhost
MQTT_USER=user
MQTT_PASS=password
MQTT_CLIENT=mqtt_server
MQTT_CHANNEL=v1
ARENA_CONFIG="./app/config/arena/{arena_config}.json"
LOG_LEVEL='info'
Development environment
npm run dev
Production environment
npm start
You can find more information about pera-swarm on the Official Documentation Page.