- Install Python using Conda
- Install PostgresSql 9.6
- Download the latest Screensaver release
- Install dependencies
- Download the Web application bundle file from the latest release
Install Python using Conda
Python 3.8 should be installed using a separate environment. The Miniconda version of the Conda package managment system is recommended.
Once Miniconda is installed, create a separate “screensaver” environment
conda create -p <installation_dir>/miniconda/screensaver python=3.8
# activate the environment
conda activate <base directory>/miniconda/screensaver
Install PostgresSql 9.6
Create a new PostgreSQL user and database instance using the createuser and createdb commands.
Download the latest Screensaver release
Clone the Screensaver repository to the installation directory:
git clone git@github.com:hmsiccbl/screensaver.git <installation_directory>
Install dependencies
Activate the python environment and install the dependencies specified in the requirements.txt file.
conda activate miniconda/screensaver
cd <installation_dir>
pip install -r requirements.txt
Download the Web application bundle file from the latest release
https://github.com/hmsiccbl/screensaver/releases/latest
- Unpack the bundle to the web application root directory