This project is a web application for cancer detection. The application is structured into two main directories: __MACOSX and cancer-detective-pro.
__MACOSX: System directory created by macOS when compressing files. Contains metadata and is not used in the application code.cancer-detective-pro: Main directory for the web application.docker-compose.yml: Docker Compose configuration file for running the application.Dockerfile: Docker image configuration.nginx.conf: Nginx server configuration.CONTRIBUTING.md: Guidelines for contributing to the project.
The main application directory contains the following structure:
-
index.html: Main landing page of the application. -
Language Directories: The application supports multiple languages, each with its own directory:
ca/: Catalan versionen/: English versiones/: Spanish version
Each language directory contains the same structure with localized content:
index.html: Language-specific home pageintroduction/: Content about understanding cancer cells and their functioninganalysis/: Interactive cancer mutation analysis toolsresources/: Additional information and external resourcesabout/: Information about the team members and the project
-
data/: Shared resources used across the websitecss/: Stylesheets for global styling and themingstyle.css,home.css,quiz.css,responsive.css, etc.
js/: JavaScript files for interactive featuresscript.js,quiz.js,gens.js,lottie.js, etc.
grafs/: Graphics, images, and animationscells/: Cell-related graphicsfotos/: Team member photosgral/: General graphics and logosjs/: JSON files for Lottie animations
-
mutations_db/: Database and tools for cancer mutations- Contains Jupyter notebooks for processing mutation data
- Database files for lung and skin cancer mutations
- Scripts to randomize and reformat mutation data
The application is containerized using Docker. To run the application, you need to have Docker and Docker Compose installed on your machine.
- Build the Docker image:
docker-compose -f docker-compose.yml up --build. You only need to do this once. - Run the Docker container:
docker-compose up - Access the application at
http://localhost:8080
Please note that any changes made to the files in the cancer-detective-pro directory will be reflected in the running application.