Deployment on a Linux Serve
Ubuntu
git clone https://gitlab.com/PBSA/PeerplaysIO/tools-libs/peerid/peerid-gui.git
cd peerid-gui
npm installConfigure the environment file
touch .envConfigure the .env with the specified values:
DEV_API_ROUTE='http://example.com/'
PRODUCTION_API_ROUTE='http://examples.com/'
DEV_BASE_ROUTE='http://example.com/api'
PRODUCTION_BASE_ROUTE='http://examples.com/api'
BLOCKCHAIN_ENDPOINTS='wss://example-endpoint.com/api'
PEERPLAYS_USD_ASSET_ID='1.3.0'
PEERPLAYS_ESCROW_ACCOUNT_ID='1.2.23'
PEERPLAYS_PAYMENT_ACCOUNT_ID='1.2.21'Start the application (dev mode)
For a production environment build the static files:
After building the static files, you can host them using any web server.
PeerID-backend
configure the config/default.json and config/development.json files:
default.json
development.json
Start the application:
Last updated
Was this helpful?
