Running Locally
To run Cellarium Cloud services locally, you will need to have the following installed:
Python 3.10
Project Environment variables in a src/casp/services/.env file. More info.
Project dependencies installed.
pip install -r requirements.txtsrc directory added to your
PYTHONPATHenvironment variable. E.g.export PYTHONPATH=$PYTHONPATH:/path/to/cellarium-cloud/src
Once you have the above installed, you can run the services locally using the following command:
python src/casp/services/<service_name>/main.py
To check the API methods that exist and their documentation, you can visit API docs page
Most of the methods will reuqire you to be authenticated. To do this, you’d need to deploy Admin service:
python src/casp/services/admin/server.py
Once the Admin service is running, you can visit Admin Dashboard to create a user and token.