mirror of https://github.com/MISP/misp-dashboard
Updated dependencies install script
parent
6b85144164
commit
f8e1725a22
|
@ -23,7 +23,7 @@ fi
|
||||||
|
|
||||||
## Web stuff
|
## Web stuff
|
||||||
pushd static/
|
pushd static/
|
||||||
mkdir -p css fonts
|
mkdir -p css fonts js
|
||||||
popd
|
popd
|
||||||
mkdir -p temp
|
mkdir -p temp
|
||||||
|
|
||||||
|
@ -82,9 +82,23 @@ mv temp/jquery-jvectormap-2.0.3.css ./static/css
|
||||||
mv temp/jquery-jvectormap-2.0.3.min.js ./static/js
|
mv temp/jquery-jvectormap-2.0.3.min.js ./static/js
|
||||||
wget http://jvectormap.com/js/jquery-jvectormap-world-mill.js -O ./static/js/jquery-jvectormap-world-mill.js
|
wget http://jvectormap.com/js/jquery-jvectormap-world-mill.js -O ./static/js/jquery-jvectormap-world-mill.js
|
||||||
|
|
||||||
|
# maxmind DB
|
||||||
mkdir data
|
mkdir data
|
||||||
pushd data
|
pushd data
|
||||||
wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz -O GeoLite2-City.tar.gz
|
wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz -O GeoLite2-City.tar.gz
|
||||||
tar xvfz GeoLite2-City.tar.gz
|
tar xvfz GeoLite2-City.tar.gz
|
||||||
rm -rf GeoLite2-City.tar.gz
|
rm -rf GeoLite2-City.tar.gz
|
||||||
|
|
||||||
|
# DataTable
|
||||||
|
DATATABLE_VERSION="1.10.16"
|
||||||
|
wget https://datatables.net/download/builder?dt/dt-${DATATABLE_VERSION}.zip -O temp/DataTables.zip
|
||||||
|
unzip -o temp/DataTables.zip -d temp/
|
||||||
|
mv temp/DataTables/${DATATABLE_VERSION}/css/dataTables.bootstrap.css ./static/css
|
||||||
|
mv temp/DataTables/${DATATABLE_VERSION}/js/jquery.dataTables.min.js ./static/js
|
||||||
|
mv temp/DataTables/${DATATABLE_VERSION}/js/dataTables.bootstrap.js ./static/js
|
||||||
|
|
||||||
|
#typeahead
|
||||||
|
git clone https://github.com/bassjobsen/Bootstrap-3-Typeahead.git temp/
|
||||||
|
mv temp/Bootstrap-3-Typeahead/bootstrap3-typeahead.min.js ./static/js
|
||||||
|
|
||||||
rm -rf ./temp
|
rm -rf ./temp
|
||||||
|
|
|
@ -29,17 +29,18 @@
|
||||||
<script src="{{ url_for('static', filename='js/bootstrap.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/bootstrap.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='js/bootstrap3-typeahead.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/bootstrap3-typeahead.min.js') }}"></script>
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/font-awesome.min.css') }}" rel="text/css">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/font-awesome.min.css') }}" rel="text/css">
|
||||||
|
<!-- JVectorMap -->
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/jquery-jvectormap-2.0.3.css') }}" type="text/css" media="screen"/>
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/jquery-jvectormap-2.0.3.css') }}" type="text/css" media="screen"/>
|
||||||
<script src="{{ url_for('static', filename='js/jquery-jvectormap-2.0.3.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/jquery-jvectormap-2.0.3.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='js/jquery-jvectormap-world-mill.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/jquery-jvectormap-world-mill.js') }}"></script>
|
||||||
|
<!-- Jquery UI -->
|
||||||
<link href="{{ url_for('static', filename='css/jquery-ui.min.css') }}" rel="stylesheet" type="text/css" />
|
<link href="{{ url_for('static', filename='css/jquery-ui.min.css') }}" rel="stylesheet" type="text/css" />
|
||||||
|
<script src="{{ url_for('static', filename='js/jquery-ui.min.js') }}"></script>
|
||||||
|
<!-- dataTable -->
|
||||||
<link href="{{ url_for('static', filename='css/dataTables.bootstrap.css') }}" rel="stylesheet" type="text/css" />
|
<link href="{{ url_for('static', filename='css/dataTables.bootstrap.css') }}" rel="stylesheet" type="text/css" />
|
||||||
<script src="{{ url_for('static', filename='js/jquery.dataTables.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/jquery.dataTables.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='js/dataTables.bootstrap.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/dataTables.bootstrap.js') }}"></script>
|
||||||
|
|
||||||
|
|
||||||
<script src="{{ url_for('static', filename='js/jquery-ui.min.js') }}"></script>
|
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/ranking.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/ranking.css') }}">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Reference in New Issue