mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
documentation on how to use tarantool with planetmint
This commit is contained in:
parent
2f92f4ac64
commit
2e4677efdd
31
planetmint/backend/tarantool/tarantool.md
Normal file
31
planetmint/backend/tarantool/tarantool.md
Normal file
@ -0,0 +1,31 @@
|
||||
# How to start using planetmint with tarantool
|
||||
|
||||
First of all you have do download [Tarantool](https://www.tarantool.io/en/download/os-installation/ubuntu/).
|
||||
|
||||
|
||||
## How to connect tarantool to planetmint
|
||||
|
||||
After a successful instalation you should be able to run from you terminal command ```tarantool```. In the cli of tarantool you need initializa a listening following the example :
|
||||
```
|
||||
box.cfg{listen=3301}
|
||||
```
|
||||
[^1].
|
||||
Afterwards quit cli of tarantool and scan by port if to be sure that service was created by tarantool.
|
||||
|
||||
### How to init spaces and indexes of tarantool[^2].
|
||||
|
||||
For this step you need to go in the root folder of planetmint and run from your virtual enviroment:
|
||||
|
||||
```
|
||||
python planetmint init localhost 3301 admin pass
|
||||
```
|
||||
|
||||
### In case you want to reset tarantool you can run command above and adding at the end True.
|
||||
|
||||
|
||||
[^1]: This is example of the port address that can be used.
|
||||
|
||||
[^2]: Not yet working
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user