Install Tethys Platform
Last Updated: September 2022
This article will provide an overview of how to install Tethys Portal in a production setup ready to host apps. Currently production installation of Tethys is only supported on Linux. Some parts of these instructions are optimized for Ubuntu, though installation on other Linux distributions will be similar.
Install Miniconda
As of version 3.0, Tethys Platform can be installed using conda. We recommend installing Miniconda as it provides a minimal installation of conda that is appropriate for servers:
bashcd /tmp wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh bash ./Miniconda3-latest-Linux-x86_64.sh
Read the license and accept when prompted. Install to the default location (
~/miniconda3
) and configure the shell to start on startup.
Install Tethys Platform
Create a new conda environment called
tethys
with thetethys-platform
package installed:bashconda create -n tethys -c conda-forge -c tethysplatform tethys-platform
Activate the
tethys
conda environment after it is created:bashconda activate tethys