Go to file
Louis Holbrook ebf4743a84 Merge branch 'lash/traffic-script-rehab' into 'master'
Implement chainlib cli for traffic script

See merge request grassrootseconomics/cic-internal-integration!255
2021-08-25 09:33:23 +00:00
apps Implement chainlib cli for traffic script 2021-08-25 09:33:23 +00:00
ci_templates Faster local builds with base image and buildkit and run all unit tests 2021-07-10 15:46:14 +00:00
scripts/initdb reverting to fffb2bc3f4 2021-08-21 13:23:43 -04:00
.gitignore reverting to fffb2bc3f4 2021-08-21 13:23:43 -04:00
.gitlab-ci.yml reverting to fffb2bc3f4 2021-08-21 13:23:43 -04:00
.gitmodules cic cache build 2021-02-18 05:04:30 +00:00
docker-compose.yml reverting to fffb2bc3f4 2021-08-21 13:23:43 -04:00
README.md reverting to fffb2bc3f4 2021-08-21 13:23:43 -04:00

cic-internal-integration

Getting started

Make some keys

docker build -t bloxie . && docker run -v "$(pwd)/keys:/root/keys" --rm -it -t bloxie account new --chain /root/bloxberg.json --keys-path /root/keys

Prepare the repo

This is stuff we need to put in makefile but for now...

File mounts and permisssions need to be set

chmod -R 755 scripts/initdb apps/cic-meta/scripts/initdb

start cluster

docker-compose up

stop cluster

docker-compose down

delete data

docker-compose down -v

rebuild an images

docker-compose up --build <service_name>

Deployment variables are writtend to service-configs/.env after everthing is up.