Last time updated: November 2024
The eSPC webserver is currently hosted through ShinyProxy, with each tool contained in a docker image. To modify an existing app, you need to have proficiency in Python and R.
- Clone the Repo and the submodules
git clone https://github.com/SPC-Facility-EMBL-Hamburg/eSPC_biophysics_platform
cd eSPC_biophysics_platform
git submodule update --init --recursive
- Install docker (https://docs.docker.com/engine/install/)
sudo bash updateDocker.bash
Follow the README.md document:
Tool | Path |
---|---|
MoltenProt | differentialScanningFluorimetryApps/README.md |
FoldAffinity | differentialScanningFluorimetryApps/README.md |
ThermoAffinity | microscaleThermophoresisApp/README.md |
PhotoMol | massPhotometryApp/README.md |
Raynals | dynamicLightScatteringApp/README.md |
ChiraKit | circularDichroismApp/README.md |
To install the eSPC platform in the development machine, follow these instructions:
-
Clone or download this repo
-
Install docker (tested with Docker version 27.1.1, https://docs.docker.com/engine/install/)
-
Install java (tested with openjdk 22.0.2)
-
Install shinyproxy (tested with shinyproxy3.1.1, https://www.shinyproxy.io/downloads/)
-
Create the file '/etc/systemd/system/docker.service.d/override.conf' and fill it with the following text:
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H unix:// -D -H tcp://127.0.0.1:2375
This file will be used for setting up the Docker systemd service
- Modify the file paths shown in application.yml according to your machine
- Start the docker service
systemctl daemon-reload
systemctl start docker
- Build the docker images
sudo bash updateDocker.bash
- To test the correct installation run shinyproxy
java -jar shinyproxy-x.y.z.jar
- Open localhost:8080 inside any browser
Additionally, you can enter and inspect each of the docker images by running
docker run -t -i docker_container_name /bin/bash
The following tree represents how the files are organised and their purpose:
README.md # Information about the eSPC platform
fresh_install_guide.md # Manual to install from scratch the eSPC platform in a new host
updateDocker.bash # Script to update the eSPC docker images
application.yml # Example configuration file for ShinyProxy
dockerFiles/ # Contains the docker files to build the docker images
dynamicLightScatteringApp/ # Files for the Raynals app
circularDichroismApp/ # Files for the ChiraKit app
differentialScanningFluorimetryApps/ # Files for the FoldAffinity and Moltenprot apps (they share the same docker image)
massPhotometryApp/ # Files for the PhotoMol app
microscaleThermophoresisApp/ # Files for the ThermoAffinity app
templates # HTML and CSS files, user documentation files, and images
|-- custom
| |-- app.html # Template file used by ShinyProxy to render the user interface of a Shiny web application
| |-- assets
| | |-- apps_user_documentation # User documentation PDFs
| | |-- css
| | | |-- custom.css # Used to customize the visual appearance of a Shiny web application
| | |-- img # Images of the apps (now presented at spc.embl-hamburg.de)
| |-- index.html # Front page of the eSPC platform