Comment on page
Sometimes you may want to use Supervisely without internet connection. In this case you can tweak offline mode for different Supervisely components.
To enable offline mode for Supervisely CLI you need to run the following command:
If you want to disable it instead:
To enable offline mode for Supervisely instance you need to run the following commands:
cd $(sudo supervisely where)
sudo nano .env
trueand save the file.
Now you need to deploy the changes:
sudo supervisely up -d
If you want to disable it instead, just set
falseand deploy the changes the same way.
To enable offline mode for Supervisely Agents you need to open the Supervisely page in your browser, go to
Team Cluster-> 3 dots button -> Instructions -> Advanced Settings and select
Enable offline mode.
After that use the blue clipboard button to copy the command and then run it in your terminal on the server where the agent is running.
If you want to disable it instead, just deselect the option and redeploy the agent the same way.