Age | Commit message (Collapse) | Author | Files | Lines |
|
This removes the need to rebuild the containers every time for simple
changes during development.
This does not include python dependencies since those are installed
globally in the container. (I would have done the same for JS
dependencies, but it's used in the static files.)
Removed the background flag for running in dev mode when using make.
It's easier to kill the servers (^C) and view logs of the server without
needing to call separate commands later.
Nginx is disabled in dev mode since the server and static files are
handled by Django instead.
Update readme to reflect upon changes made.
Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
Change-Id: I7888ca89021fca313e1043a7f94b5e1b7e12498c
|
|
related to change:
https://gerrit.opnfv.org/gerrit/c/releng/+/68161
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I4985eb116fd2c214f3639eb991f27b5d75b5ab7c
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
By not mounting the local directory in the container,
we avoid the problem of the static files being
overwritten.
This change forces you to run `make build; make dev-up`
for *every* change, even templates.
Change-Id: I9ba3d5711dab7aa86773fbf392fca9c92f042702
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Now that images are built and hosted for the dashboard and worker
container the compose file can reference upstream images instead of
ones locally built.
A second compose file is added which overrides compose configuration so
that images are built locally.
Initial commands for running the container are moved into 'init.sh'
which gets copied into the image, since the current images cannot be ran
by themselves as they require the command listed in the compose file.
The compose version bumped from 2 to 3 as there are no version 2
specific features being used that need to be modified.
Change-Id: I23813a859a676ba009cba8f5a62b7153da006eef
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|