Windows host compatibility.

This commit is contained in:
Gary Ritchie 2016-10-25 14:40:41 -04:00
parent 4f10a1d13f
commit 7ce393fdf2
1 changed files with 17 additions and 1 deletions

View File

@ -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
----------