From 50d9b32f7371a2298cf5f9c788af0e62aabc617b Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 15 Jun 2021 23:17:05 +1000 Subject: [PATCH] Adds note about editing source files --- docs/start/docker_dev.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/start/docker_dev.md b/docs/start/docker_dev.md index 9f75fe5..7f2588a 100644 --- a/docs/start/docker_dev.md +++ b/docs/start/docker_dev.md @@ -139,3 +139,19 @@ To stop the InvenTree development server, simply run the following command: ``` docker-compose -f docker-compose-dev.yml down ``` + +## Editing InvenTree Source + +Any changes made to the InvenTree source code are automatically detected by the services running under docker. + +Thus, you can freely edit the InvenTree source files in your editor of choice. + +### Database Updates + +Any updates which require a database schema change must be reflected in the database itself. + +To run database migrations inside the docker container, run the following command: + +``` +docker-compose -f docker-compose.dev.yml run inventree-dev-server invoke update +```