Docker scripts that install and run SchoolTool in a container.
-
First install
ds
andwsproxy
: -
Then get the schooltool scripts from github:
ds pull schooltool
-
Create a directory for the schooltool container:
ds init schooltool @school1
-
Fix the settings:
cd /var/ds/school1 vim settings.sh ds info
-
Build image, create the container and configure it:
ds build ds create ds config
-
Tell
wsproxy
to manage the domain of this container:ds wsproxy add
-
Tell
wsproxy
to get a free letsencrypt.org SSL certificate for this domain (if it is a real one):ds wsproxy ssl-cert --test ds wsproxy ssl-cert
-
If the domain is not a real one, add to
/etc/hosts
the line127.0.0.1 school1.example.org
and then try https://school1.example.org in browser.
ds shell
ds stop
ds start
ds snapshot
ds backup
ds restore
ds help