diff --git a/docs/root/source/introduction/quickstart.md b/docs/root/source/introduction/quickstart.md index ffa4f28..08e5896 100644 --- a/docs/root/source/introduction/quickstart.md +++ b/docs/root/source/introduction/quickstart.md @@ -45,8 +45,16 @@ $ python notarize.py Planemtint is a Tendermint applicatoin with an attached database. A basic installation installs the database, Tenermint and therafter Planetmint. -The instalation of the database is as follows: +Planetmint currently supports Tarantool and MongoDB database. The installation is as follows: ``` +# Tarantool +$ curl -L https://tarantool.io/release/2/installer.sh | bash +$ sudo apt-get -y install tarantool +``` +*Caveat:* Tarantool versions before [2.4.2](https://www.tarantool.io/en/doc/latest/release/2.4.2/) automatically enable and start a demonstration instance that listens on port `3301` by default. Refer to the [Tarantool documentation](https://www.tarantool.io/en/doc/latest/getting_started/getting_started_db/#creating-db-locally) for more information. + +``` +# MongoDB $ sudo apt install mongodb ``` Tendermint can be installed and started as follows diff --git a/docs/root/source/node-setup/all-in-one-planetmint.md b/docs/root/source/node-setup/all-in-one-planetmint.md index 4727b85..946222e 100644 --- a/docs/root/source/node-setup/all-in-one-planetmint.md +++ b/docs/root/source/node-setup/all-in-one-planetmint.md @@ -40,8 +40,9 @@ $ docker run \ --name planetmint \ --publish 9984:9984 \ --publish 9985:9985 \ - --publish 27017:27017 \ + --publish 3303:3303 \ --publish 26657:26657 \ + --volume $HOME/planetmint_docker/tarantool:/var/lib/tarantool \ --volume $HOME/planetmint_docker/tendermint:/tendermint \ planetmint/planetmint:all-in-one ``` @@ -54,10 +55,11 @@ Let's analyze that command: (the Planetmint API server) * `9985` Planetmint Websocket server * `26657` Tendermint RPC server - this allows us to have the data persisted on the host machine, + * `3303` Configured port for Tarantool +* `$HOME/planetmint_docker/tarantool:/var/lib/tarantool` this allows us to have the data persisted on the host machine, you can read more in the [official Docker documentation](https://docs.docker.com/engine/tutorials/dockervolumes) - * `$HOME/planetmint_docker/tendermint:/tendermint` to persist Tendermint data. +* `$HOME/planetmint_docker/tendermint:/tendermint` to persist Tendermint data. * `planetmint/planetmint:all-in-one` the image to use. All the options after the container name are passed on to the entrypoint inside the container. ## Verify