This repository was archived by the owner on Jul 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
Tom Lichtenstein edited this page Jun 6, 2018
·
16 revisions
Clone repository:
git clone git@github.com:BPChain/api-server.git
cd api-serverEdit your database/.env file with your credentials like this:
#MongoDB Default Setup
MONGO_INITDB_ROOT_USERNAME=root
MONGO_INITDB_ROOT_PASSWORD=yourPassword
#MongoDB Create Admin
MONGO_ADD_USERADMIN_USERNAME=admin
MONGO_ADD_USERADMIN_PASSWORD=yourPassword
#MongoDB Create chainboarddb User
MONGO_ADD_CHAINBOARDDBUSER_USERNAME=chainboarddbuser
MONGO_ADD_CHAINBOARDDBUSER_PASSWORD=yourPassword
FRONTEND_ADMIN=superAdmin
FRONTEND_ADMIN_PASSWORD=yourPasswordStart database:
./initDatabase.shCreate database users:
cd database/
./createDbUsers.shStart Server:
cd ..
initServer.shgit@github.com:BPChain/angular-frontend.git
cd angular-frontend
./initFrontend
Login credentials:
- username: FRONTEND_ADMIN
- password: FRONTEND_ADMIN_PASSWORD
Clone Controller
git clone https://github.com/BPChain/private-chain-controller.git
cd private-chain-controllerBuild with:
./build.shRun with:
./runAll.sh