Install Tethys Platform¶
Last Updated: May 2020
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:
cd /tmp wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh sh ./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:conda create -n tethys -c tethysplatform -c conda-forge tethys-platformActivate the
tethys
conda environment after it is created:conda activate tethys