This repository has been 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-server
Edit 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=yourPassword
Start database:
./initDatabase.sh
Create database users:
cd database/
./createDbUsers.sh
Start Server:
cd ..
initServer.sh
git@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-controller
Build with:
./build.sh
Run with:
./runAll.sh