-
Setting up back-end development environmentBackendPrerequisitesTracardi used elastic search as its storage. Install elastic search or use docker: Pulling the imageObtaining Elasticsearch for Docker is as simple as issuing a docker pull command against the Elastic Docker registry. For this you may need docker. If you do not have docker installed take a look here https://docs.docker.com/engine/install/ubuntu/
Starting a single node cluster with DockerTo start a single-node Elasticsearch cluster for development or testing, run:
This will start elastic at localhost:9200 Optionally you may use docker-compose to start elastic and kibana. Clone tracardi and run:
Python and Tracardi codeInstall python and pip and then: git clone https://github.com/atompie/tracardi.git
cd tracardi
pip install -r requirements.txt
uvicorn app.main:application --reload --host 0.0.0.0 --port 8001 Go to http://localhost:8001/docs - to see API documentation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you find any mistakes or this guide is incomplete please do not be shy and comment below. |
Beta Was this translation helpful? Give feedback.
If you find any mistakes or this guide is incomplete please do not be shy and comment below.