Environments Everywhere
For now, client and server live in the same repo. This will change in the near future.
mamba env create -n ee -f env.yml
python -m ee.server
Create a new environment definition from the given JSON file.
For example, consider a file env.json
:
{
"packages": {
"python": "3.9",
"pandas": ">=1.2,<1.3"
}
}
You can add that environment with:
python -m ee.admin_cli new env.json
To associate an environment id (hash) with an application (my-app) and environment (prod):
python -m ee.admin_cli assoc my-app prod
python -m ee.cli my-app prod python -c "import pandas; print(pandas.__version__)"