Installation¶
Prerequisites¶
- Python 2.7
- HDF5 C library (dependency of netCDF)
- libcURL (required for OPeNDAP)
- netCDF C library (with OPeNDAP enabled)
- libspatialindex
- libPNG
- libFreeType
- libJPEG
- libevent
Download¶
download the latest release where you would like SCI-WMS to live
Install¶
install Python dependencies using pip
pip install -r requirements.txt
if NetCDF4 and HDF5 libraries are in non-typical locations, pass the locations to pip
NETCDF4_DIR=... HDF5_DIR=... pip install -r requirements.txt
If you would like Gunicorn to use an alternative worker, the following are also supported:
- eventlet
- tornado
Create Database¶
Run the south database migrations to create tables and configure the administrator account
python manage.py syncdb # prompts to create superuser account
python manage.py migrate