mirror of https://github.com/MISP/misp-dashboard
fix: wget bug + Added screen, virtualenv and redis dependencies
parent
f3b3365320
commit
81912aa519
|
@ -3,7 +3,7 @@
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
sudo apt-get install python3-virtualenv -y
|
sudo apt-get install python3-virtualenv virtualenv screen redis-server -y
|
||||||
|
|
||||||
if [ -z "$VIRTUAL_ENV" ]; then
|
if [ -z "$VIRTUAL_ENV" ]; then
|
||||||
virtualenv -p python3 DASHENV
|
virtualenv -p python3 DASHENV
|
||||||
|
@ -106,6 +106,6 @@ mv temp/Bootstrap-3-Typeahead/bootstrap3-typeahead.min.js ./static/js
|
||||||
git clone https://github.com/melenaos/jquery-punchcard.git temp/jquery-punchcard
|
git clone https://github.com/melenaos/jquery-punchcard.git temp/jquery-punchcard
|
||||||
mv temp/jquery-punchcard/src/punchcard.js ./static/js
|
mv temp/jquery-punchcard/src/punchcard.js ./static/js
|
||||||
mv temp/jquery-punchcard/src/punchcard.css ./static/css
|
mv temp/jquery-punchcard/src/punchcard.css ./static/css
|
||||||
wget https://momentjs.com/downloads/moment.js -O ./static/js
|
wget https://momentjs.com/downloads/moment.js -O ./static/js/moment.js
|
||||||
|
|
||||||
rm -rf ./temp
|
rm -rf ./temp
|
||||||
|
|
Loading…
Reference in New Issue