This is Iceform.
Install NPM dependencies:
cd hseling-web-iceform; npm install .; cd ..
Create venv and install Python dependencies for Web part:
cd hseling-web-iceform
python3 -m venv .env
source .env/bin/activate
pip install -r requirements.txt
cd ..
To run Web Application:
export HSELING_RPC_ENDPOINT=http://localhost:5000/rpc/
export PYTHONPATH=hseling-web-iceform
python3 hseling-web-iceform/hseling_web_iceform/main.py
deactivate
Create venv and install Python dependencies for Web part:
cd hseling-api-iceform
python3 -m venv .env
source .env/bin/activate
pip install -r requirements.txt
cd ..
To run RPC server:
PYTHONPATH=hseling-lib-iceform:hseling-api-iceform python hseling-api-iceform/hseling_api_iceform/main.py
Build and run composed docker environment:
docker-compose build
docker-compose up
To stop your environment press C-c or:
docker-compose stop
Check if your API container started successfully:
curl http://localhost:5000/healthz
Now you can use curl to check RPC endpoints at localhost:5000:
curl -XPOST -H "Content-type: application/json" -d '{"id": 1, "method": "list_files", "params": []}' http://localhost:5000/rpc/
You can navigate to main web application using this link:
open http://localhost:8000/web/
MIT License. See LICENSE file.