diff --git a/README.md b/README.md index 3ea9d44..8d16886 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Do this once: docker-compose up -d ``` -wait for a moment, then +If you're using Windows skip to _Windows Setup_, otherwise wait for a moment, then ``` docker-compose -f docker-compose.setup.yml run --rm setup @@ -23,6 +23,22 @@ docker-compose -f docker-compose.setup.yml run --rm setup Subsequent runnings: `docker-compose up -d`. +### Windows Setup + +Docker's `docker-compose` command on Windows isn't fully supported. Here's an alternate method for updating the _adaptauthoring_ container: + +`docker exec -it` into the running _adaptauthoring_ container, then + +```bash +export ADMIN_EMAIL=admin + +export ADMIN_PASSWORD=password + +node install --install Y --serverPort 5000 --serverName localhost --dbHost adaptdb --dbName adapt-tenant-master --dbPort 27017 --dataRoot data --sessionSecret your-session-secret --useffmpeg Y --smtpService dummy --smtpUsername smtpUser --smtpPassword smtpPass --fromAddress you@example.com --name master --displayName Master --email ${ADMIN_EMAIL} --password ${ADMIN_PASSWORD} +``` + +Exit and then restart the container. + Config ----------