diff options
author | Jeremy Plsek <jplsek@iol.unh.edu> | 2019-12-20 10:50:41 -0500 |
---|---|---|
committer | Jeremy Plsek <jplsek@iol.unh.edu> | 2020-02-17 16:01:03 -0500 |
commit | d63a08e56716358ea4daa30d3050fa01df65a837 (patch) | |
tree | 10873a809c29492efcc1988cc65ccf8cf054f7e7 /docker-compose.override-dev.yml | |
parent | 80f9bb0bb514133363bd0a40edb8b10ddb8d3a51 (diff) |
js: use npm instead of bower
Bower is considered deprecated, so switch to npm.
- Update all dependencies
- Use npm's version of mxgraph
- Use npm's version of jquery
- Use npm's version of plotly
- Fix mxgraph to use styles and images from the correct location
- Removed random csrf token input in nav bar and use js to get csrf
token
- Remove all calendar and some resource files since they were not used
Change-Id: I30d6bd91cded9547caa4c0a5247cd9f214fe9798
Signed-off-by: Jeremy Plsek <jplsek@iol.unh.edu>
Diffstat (limited to 'docker-compose.override-dev.yml')
-rw-r--r-- | docker-compose.override-dev.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-compose.override-dev.yml b/docker-compose.override-dev.yml index c6ee3b8..ee0b7a1 100644 --- a/docker-compose.override-dev.yml +++ b/docker-compose.override-dev.yml @@ -19,7 +19,7 @@ services: context: . dockerfile: web/Dockerfile command: > - sh -c "cd static && bower install --allow-root && cd .. && + sh -c "cd static && npm install && cd .. && ./manage.py migrate && ./manage.py runserver 0:8000" volumes: |