Prerequisites
Server
Self-Hosted
- Ubuntu
- 4GB RAM
- Latest Docker (with docker-compose-plugin)
Client
Cloud · Self-Hosted
- Network connection to the server
- Up-to-date desktop browser, one of:
- Chrome
- Edge
- Firefox
- Safari
Installation
Self-Hosted
Installation via script is the easiest option. You need (official) Docker installed.
Install additional requirements of script installation:
1 2 |
|
The user running the installation script must have the permission to use docker.
Download and run:
1 2 |
|
1 |
|
The installation script creates a new sysreptor
directory holding the source code and everything you need.
It will build a docker image, create volumes and secrets and bring up your containers.
You need (official) Docker installed.
Download and extract the latest SysReptor release:
1 2 |
|
Create your app.env
:
1 2 |
|
Generate Django secret key and add to app.env
:
1 |
|
Generate data at rest encryption keys and add to app.env
:
1 |
|
Optional: Add Professional license key to app.env
:
LICENSE="<your license key>"
Create docker volumes:
1 2 |
|
Build Docker image and run container:
1 |
|
1 |
|
-f docker-compose.yml
is specified for Community only to avoid inclusion of Docker Compose Override. This avoids to run an additional Docker container for spell checking and saves resources.
Add initial superuser:
1 2 |
|
Add demo data:
# Projects
url="https://docs.sysreptor.com/assets/demo-projects.tar.gz"
curl -s "$url" | docker compose exec --no-TTY app python3 manage.py importdemodata --type=project --add-member="$username"
# Designs
url="https://docs.sysreptor.com/assets/demo-designs.tar.gz"
curl -s "$url" | docker compose exec --no-TTY app python3 manage.py importdemodata --type=design
# Finding templates
url="https://docs.sysreptor.com/assets/demo-templates.tar.gz"
curl -s "$url" | docker compose exec --no-TTY app python3 manage.py importdemodata --type=template
Access your application at http://127.0.0.1:8000/.
We recommend to use a webserver like nginx or Apache and to enable https.
Further configurations can be edited in sysreptor/deploy/app.env
.
Upgrade to Professional
- Add your license key to
deploy/app.env
(LICENSE='your_license_key'
) cd
todeploy/app.env
and rundocker compose up -d
- Enjoy