diff options
| author | JF | 2019-07-02 13:22:33 -0700 |
|---|---|---|
| committer | jvoisin | 2019-07-02 13:22:33 -0700 |
| commit | 9d155d171e916cd3c2c34f6c50955745f8929e79 (patch) | |
| tree | 07d55875d4e8e599b3ce0df516483f0a7d502770 /README.md | |
| parent | ac0acded89f7d499e22605bded5e2e19cbd8c92f (diff) | |
added a docker dev environment
Signed-off-by: Jan Friedli <jan.friedli@immerda.ch>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -79,6 +79,12 @@ collector cronjob to remove leftover files. Besides, it can create a | |||
| 79 | the uploads folder, to ensure that the uploaded files won't be recoverable | 79 | the uploads folder, to ensure that the uploaded files won't be recoverable |
| 80 | between reboots. | 80 | between reboots. |
| 81 | 81 | ||
| 82 | # Development | ||
| 83 | Install docker and docker-compose and then run `docker-compose up` to setup | ||
| 84 | the docker dev environment. Mat2-web is now accessible on your host machine at `localhost:5000`. | ||
| 85 | Every code change triggers a restart of the app. | ||
| 86 | If you want to add/remove dependencies you have to rebuild the container. | ||
| 87 | |||
| 82 | # Custom templates | 88 | # Custom templates |
| 83 | 89 | ||
| 84 | You can override the default templates from `templates/` by putting replacements | 90 | You can override the default templates from `templates/` by putting replacements |
