Installation
Install a Docker container on your server. By default there will be created a site with the name default.
$ docker run -d -it --restart=always --name=just \
-v /var/lib/just/mongodb:/var/lib/mongodb \
-p 8080:80 extremeprog/just:latest
You can make put some custom parameters during docker run command.
It will let you define your own site name and admin data (login and password):
$ docker run -d -it --restart=always --name=just \
-v /var/lib/just/mongodb:/var/lib/mongodb \
-e JUST_SITE_NAME=mycustomname
-e JUST_ADMIN_EMAIL=admin@mycustomname.com
-e JUST_ADMIN_PASSWORD=xxx
-p 8080:80 extremeprog/just:latest
Learn Some Terminology
Site - we use this term to denote the name of your service that will use Just.
Each site has it's own settings, users, etc. Technically the site is a record in the database in _sites collection.
There are several collections that correspond to the site: site-{site-name},
site-{site-name}-users, site-{site-name}-snapshots.