cic-stack/README.md

43 lines
695 B
Markdown
Raw Normal View History

2021-01-24 21:16:22 +01:00
# cic-internal-integration
## Getting started
2021-01-24 21:16:22 +01:00
## Make some keys
2021-02-11 11:14:30 +01:00
```
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-01-24 21:16:22 +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
2021-01-24 21:16:22 +01:00
```
docker-compose up
2021-01-24 21:16:22 +01:00
```
stop cluster
```
docker-compose down
2021-01-24 21:16:22 +01:00
```
delete data
2021-01-24 21:16:22 +01:00
```
docker-compose down -v
2021-01-24 21:16:22 +01:00
```
rebuild an images
```
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