To run a development environment locally, you'll need to have:
xos
root: source scripts/setup_venv.sh
)xos-tosca
specific dependencies: pip install -r pip_requirements.txt
/etc/hosts
file that point xos-core.opencord.org
to you local environmentYou can run this either from an IDE or:
python scr/main.py
To send an example request to xos-tosca
:
curl -X POST --data-binary @test.yaml 127.0.0.1:9200