Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 916 Bytes

README.md

File metadata and controls

45 lines (24 loc) · 916 Bytes

autotutor

This is Autotutor.

Local development

Install npm dependencies:

cd hseling_web_autotutor/src/web/static; npm install .; cd ../../../..

API development

You can develop your API without docker environment:

cd hseling_api_autotutor/
make run

Docker containers

Build and run composed docker environment:

docker-compose build
docker-compose up

To stop your environment press C-c or:

docker-compose stop

Checking your application

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/

License

MIT License. See LICENSE file.