forked from CommonAccord/Cmacc-Org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
19 lines (13 loc) · 783 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# CommonAccord
## How to run the docker image?
If you have a docker setup, including environment export, up and running, you
can `make run` to have a stack up in a few seconds. The first run will take a
bit of time as docker downloads the PHP/Apache image, but subsequent runs
should take less than a second.
Running the code using the docker method have several benefits. One of the most
obvious is that the codebase is decoupled from the documents base: while the
code is running in an isolated container within docker, your documents can stay
on your computer wherever you want. You just need to specify `DOCPATH=...` on
run to have your documents mounted (read/write) into the runtime container.
For example::
DOCPATH=/Users/johndoe/Documents/LegalDocuments make start