Getting started on the docker run commands alternative.

This commit is contained in:
Gary Ritchie 2016-10-06 07:02:12 -04:00
parent 401c9f0d23
commit 3afcc631df
1 changed files with 33 additions and 21 deletions

View File

@ -3,8 +3,21 @@ README.md
Authoring SCORM-compatible training using the [Adapt Authoring](https://github.com/adaptlearning/adapt_authoring) tool.
Getting Started
---------------------
Getting Started - docker-compose
---------------------------------
### Config
Add an `.env` file with the following:
```
ADMIN_EMAIL=admin
ADMIN_PASSWORD=password
```
This is read during "setup."
### Setup
Do this once:
@ -21,37 +34,36 @@ docker-compose -f docker-compose.setup.yml run --rm setup
Subsequent runnings: `docker-compose up -d`.
Config
----------
Add an `.env` file with the following:
### Clean Up
```
ADMIN_EMAIL=admin
ADMIN_PASSWORD=password
```
This is read during "setup."
Clean Up
-----------
### To remove containers
#### To remove containers
```
docker-compose down
```
### To remove data (courses)
#### To remove data (courses)
This will delete your hard work. Are you sure?
This will delete your hard work.
```
docker volume rm dockeradaptauthoring_adaptdb
docker volume rm dockeradaptauthoring_adaptdata
```
Backup
------------
### Backup
[database and course content]
[database and course content]
Getting Started - docker run
---------------------------------
Setup
-----------
### Volumes
`docker volume create --name dockeradaptauthoring_adaptdata`
### Services