The steps below describe how to set up Inspirient as a local, self-hosted installation, e.g., for evaluation purposes.
Installation
Prerequisites
Hardware
- ≥ 32 GB RAM
- ≥ 16 GB disk space (for basic setup, excl. data analyses)
Software
- Operating system (OS): Linux-based
- Docker
- Docker-compose
- Internet access (required for some features like email or ChatGPT)
This installation has been tested with Ubuntu Focal 20.04 (LTS) running Docker (version 20.10.7) and Docker Compose (version 1.25.0). Other operating systems or versions may need small adjustments.
Installation via Script
Username and password required for the script-based installation are provided to you upon request.
$ bash <(wget -qO- https://www.inspirient.com/get-inspirient.sh)
Configuration (optional)
The following configuration options may be adjusted by editing the file self-hosted-inspirient/conf/webapp/custom_settings.py.
For the integrated email services to work, the following configuration options need to be populated with the correct values from your email server.
# EMAIL CONFIG
EMAIL_HOST=""
EMAIL_HOST_USER=""
EMAIL_HOST_PASSWORD=""
EMAIL_PORT=587
EMAIL_USE_TLS=True
SERVER_EMAIL='no-reply@inspirient.com'
DEFAULT_FROM_EMAIL='Inspirient Notification Service <no-reply@inspirient.com>'
EMAIL_BACKEND='django.core.mail.backends.smtp.EmailBackend'
# END EMAIL CONFIG
Use-Case
To adjust your use case please comment/uncomment the correct setting
DEFAULT_USE_CASE = "generalAnalysis"
#DEFAULT_USE_CASE = "surveyAnalysis"
Running Inspirient
Run via Script
$ bash run-inspirient.sh
After ca. one minute, the Inspirient web application can be accessed on your machine on local port 8080 http://localhost:8080/. Login with username evaluation@inspirient.com and the password set by executing the following command:
$ docker exec -it inspirient-webapp /srv/inspirient/.env/bin/python3 /srv/inspirient/inspirient/manage.py changepassword "Evaluation User"