Command line client for SAGE
pip install git+https://github.com/sagecontinuum/sage-cli.gitexport SAGE_STORE_URL="http://localhost:8080"
export SAGE_USER_TOKEN="user:testuser"
sage-cli.py storage bucket create --datatype modelOptionally wit docker (--net only for local test instance):
docker run -ti -e SAGE_STORE_URL="http://sage-api:8080" -e SAGE_USER_TOKEN="user:testuser" --net sage-storage-api_default sagecontinuum/sage-cli
sage-cli.py storage bucket create --datatype modelCreate test environment:
git clone https://github.com/sagecontinuum/sage-storage-api.git
cd sage-storage-api
docker-compose up -d
cd ..Wait a few seconds, run test:
export SAGE_USER_TOKEN=user:testuser
export SAGE_STORE_URL=http://localhost:8080
./tests.shClean-up:
cd sage-storage-api
docker-compose down
cd ..
rm -rf ./sage-storage-api