Updated README file

This commit is contained in:
Vadim Prishlyak 2019-07-11 13:31:02 +03:00
parent 51c7625dfa
commit 306cefef6c
1 changed files with 0 additions and 19 deletions

View File

@ -27,31 +27,12 @@ Do this once:
docker-compose up -d
```
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
```
Subsequent runnings: `docker-compose up -d`.
### Windows Setup
Docker's `docker-compose` _interactive mode_ 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.
### Clean Up
#### To remove containers