Flo-Token-System-Docker/README.md
Divyansh Bhardwaj 4fee0e06ea Made small changes to the config.py of flo-api
Added a new index file for floscout
Minor changes also made
2022-06-09 02:35:34 +05:30

39 lines
984 B
Markdown

# FLO Token-Smart Contract System Docker
Docker resources to build components required for FLO Token-Smart Contract system, all at one place!
## Why do I need this?
FLO Token-Smart Contract system consists of three apps working together
* FLO Token & Smart Contract tracking scripts (Python)
* RanchiMall FLO API (Python-Flask)
* Floscout Token & Smart Contract explorer (JavaScript)
RanchiMall wants to made things easy for you by packing all the three systems together, so you can get started using out system for your Dapps :)
## How do I use this?
Clone the repository and then crete a docker volume
```
docker volume inspect ranchimall-flo-volume
```
Build the docker image by the following command
```
sudo docker build .
```
Run the docker container with exposing all the port and mounting the volume
```
docker run -d -p 5009:5009 -p 6200:6200 -v ranchimall-flo-volume <IMAGE-ID>
```
To Check if FLO-API is running
```
0.0.0.0:5009/api/v1.0/getSystemData
```