Getting started on the docker run commands alternative.
This commit is contained in:
parent
401c9f0d23
commit
3afcc631df
54
README.md
54
README.md
|
@ -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
|
Loading…
Reference in New Issue