This repository holds a set of scripts that can be used to bring up an instance of OpenSALT.
-
Ensure docker and docker-compose are installed
-
Clone this repository
-
Copy
.env.distto.env -
Update
.envas desired -
Create a volume for the mysql data using
docker volume create --name=opensalt-mysql-data(replacing opensalt with the value of COMPOSE_PROJECT_NAME in.envif changed) -
Run
make upto start OpenSALT -
Wait 30 seconds or so to allow the database to warm up
-
Run
make migrateto set up the database -
Run
bin/console salt:org:addto create your first organisation -
Run
bin/console salt:user:addto create your first user -
Get IP address of web container using
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' opensalt_web_1(replacing opensalt with the value of COMPOSE_PROJECT_NAME in.envif changed) -
Go to
http://<IP of container>/to get to the initial page