Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
analitiko: release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
reemuru committed Apr 14, 2022
1 parent a4cce54 commit 8b03444
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions analitiko/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
## Automated Model Deployment

Below is a recipe for spinning up a PostgreSQL docker image followed by the Analitiko
docker image. Feel free to create your own scripts. (Default password is `postgres`)
docker image. Feel free to create your own scripts.

1. Pull the official PostgreSQL and Analitiko docker images

```bash
docker pull postgres && docker pull hiahatf/analitiko:v0.1.0
docker pull postgres && docker pull hiahatf/analitiko:vX.X.X
```

2. Start the PostgreSQL image
Expand All @@ -20,15 +20,15 @@ docker run --rm -P -p <DEVICE_IP>:5432:5432 -e POSTGRES_PASSWORD="<PASSWORD>" --
3. Start Analitiko image

```bash
docker run --rm -P -p 127.0.0.1:4242:4242 --name analitiko analitiko:v0.1.0 \
docker run --rm -P -p 127.0.0.1:4242:4242 --name analitiko analitiko:vX.X.X \
/bin/bash -c "sh deploy.sh <MODEL_DIR> <PGDB_USERNAME> <PGDB_PASSWORD> \
<DEVICE_IP> <DB_NAME> <NUM_BLOCKS> http://<MONERO_RPC_HOST:PORT> <SHINY_PORT>"
```

OR if you already have a monero node running

```bash
docker run --rm -P -p 127.0.0.1:4242:4242 --name analitiko analitiko:v0.1.0 \
docker run --rm -P -p 127.0.0.1:4242:4242 --name analitiko analitiko:vX.X.X \
/bin/bash -c "sh sync-analitiko.sh <MODEL_DIR> <PGDB_USERNAME> <PGDB_PASSWORD> \
<DEVICE_IP> <DB_NAME> <NUM_BLOCKS> http://<MONERO_RPC_HOST:PORT> <SHINY_PORT>"
```
Expand Down
2 changes: 1 addition & 1 deletion analitiko/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion analitiko/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "analitiko",
"version": "0.1.0",
"version": "0.2.0",
"description": "Monero blockchain analytics and exploratory data analysis tools",
"main": "analitiko.js",
"directories": {
Expand Down

0 comments on commit 8b03444

Please sign in to comment.