Fixed final issues on deployment

parent 3bdcf5ea
......@@ -74,14 +74,16 @@ STAC
Build and deployment
====
To build the project into a docker image, simple execute the following command:
The project can be built into a [docker](https://www.docker.com/) image using only the docker folder of the project. To install docker, please follow the instructions [here](https://docs.docker.com/installation/).
To build a docker image, simple execute the following command:
```
docker build -t stac docker
```
Then to deploy the docker image:
```
docker run stac
docker run -d -p 80:80 stac
```
......
/home/remoto/ismael.rodriguez/Tesis/stac/api/
\ No newline at end of file
/home/remoto/ismael.rodriguez/Tesis/stac/api/apidoc/
\ No newline at end of file
......@@ -57,8 +57,8 @@ year={2015}}</pre>
</div>
<div class="btn-group pull-right" role="group">
<a href="https://gitlab.citius.usc.es/ismael.rodriguez/stac/" class="btn btn-default" role="button"><span class="icon-github"></span> Source on Gitlab</a>
<a href="http://tec.citius.usc.es/stac/doc/" class="btn btn-default" role="button"><span class="icon-python"></span> Python Doc</a>
<a href="http://tec.citius.usc.es/stac/apidoc/" class="btn btn-default" role="button"><span class="icon-swagger"></span> API REST Doc</a>
<a href="doc/index.html" class="btn btn-default" role="button"><span class="icon-python"></span> Python Doc</a>
<a href="apidoc/index.html" class="btn btn-default" role="button"><span class="icon-swagger"></span> API REST Doc</a>
</div>
</div>
</div>
......
......@@ -44,42 +44,13 @@ $(document).ready(function(){
});
// Event handler that shows the content to be exported when activating the modal
$(document).on('#modal_export show.bs.modal', function (e) {
var format = $("#export_format").val();
if (format == "latex") {
$("#export_text").val(exportTableToLaTeX($('table')));
} else {
$("#export_text").val(exportTableToCSV($('table')));
}
});
// Event handler that changes the content exported when changed the combobox
$(document).on('change', '#export_format', function (e) {
var format = $("#export_format").val();
if (format == "latex") {
$("#export_text").val(exportTableToLaTeX($('table')));
} else {
$("#export_text").val(exportTableToCSV($('table')));
}
});
// Event handler that perfoms feedback about the file selected
$(document).on('change', '.btn-file :file', function() {
var input = $(this),
numFiles = input.get(0).files ? input.get(0).files.length : 1,
label = input.val().replace(/\\/g, '/').replace(/.*\//, '');
input.trigger('fileselect', [numFiles, label]);
$(this).parents('.input-group').find(':text').val(label);
});
$(document).ready( function() {
$('.btn-file :file').on('fileselect', function(event, numFiles, label) {
var input = $(this).parents('.input-group').find(':text'),
log = numFiles > 1 ? numFiles + ' files selected' : label;
if( input.length ) {
input.val(log);
}
});
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment