2021-01-24 21:16:22 +01:00
|
|
|
# cic-internal-integration
|
|
|
|
|
|
|
|
## Getting started
|
|
|
|
|
2021-02-11 11:14:30 +01:00
|
|
|
## 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
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2021-02-09 18:32:36 +01:00
|
|
|
### 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
|
|
|
|
````
|
|
|
|
|
2021-01-24 21:16:22 +01:00
|
|
|
start cluster
|
|
|
|
```
|
|
|
|
docker-compose up
|
|
|
|
```
|
|
|
|
|
|
|
|
stop cluster
|
|
|
|
```
|
|
|
|
docker-compose down
|
|
|
|
```
|
|
|
|
|
|
|
|
delete data
|
|
|
|
```
|
|
|
|
docker-compose down -v
|
|
|
|
```
|
|
|
|
|
2021-01-29 05:26:08 +01:00
|
|
|
rebuild an images
|
2021-01-24 21:16:22 +01:00
|
|
|
```
|
2021-02-02 17:23:12 +01:00
|
|
|
docker-compose up --build <service_name>
|
2021-02-09 18:32:36 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Deployment variables are writtend to service-configs/.env after everthing is up.
|
2021-02-02 17:23:12 +01:00
|
|
|
|