Skip to main content

Installation Guide

The CPU Scheduling Algorithms Simulator offers multiple deployment options to fit your needs. Choose from instant cloud access, local file execution, or containerized Docker deployment.

Requirements

Minimal Requirements

  • Modern web browser (Chrome, Edge, Firefox, or Safari)
  • No Node.js installation needed
  • No database required
  • No backend server needed

Optional Tools

  • Docker Desktop (for containerized deployment)
  • Git (for cloning the repository)
  • Web server (for custom hosting)
This is a 100% frontend application. All computation happens in the browser, making installation incredibly simple.

Installation Methods

Option 1: Access the Live Demo

The fastest way to use the simulator - no installation required!Live URL: https://planificacion-app-rcl8.onrender.com
1

Open Your Browser

Launch any modern web browser on your device.
2

Visit the Demo

Navigate to: https://planificacion-app-rcl8.onrender.com
3

Start Simulating

The simulator loads instantly. Select an algorithm and begin!
Best for: Quick testing, demonstrations, and classroom use
The demo is hosted on Render’s free tier. Initial load may take 30-60 seconds if the service was idle.

Verification Steps

After installation, verify the simulator is working correctly:
1

Check Algorithm Selection

You should see five colored buttons on the landing page:
  • FIFO (blue)
  • SJF (green)
  • Round Robin (yellow/orange)
  • Prioridad (red)
  • MLFQ (dark red)
2

Test Basic Simulation

  1. Click FIFO
  2. Enter 2 for number of processes
  3. Click Continue
  4. Enter process data:
    • Process 1: Arrival 0, CPU 3
    • Process 2: Arrival 1, CPU 2
  5. Click Simular
3

Verify Results Display

You should see:
  • Results table with metrics for P1 and P2
  • Total execution time: 5
  • Simulation controls (Iniciar, Pausar, Reiniciar, Volver al inicio)
4

Test Animation

  1. Click ▶ Iniciar
  2. Watch the CPU box update
  3. Observe the Gantt chart building
  4. Verify animation completes without errors
If all steps complete successfully, your installation is working correctly!

Deployment Options

Static Web Hosting

Since the simulator is purely static files, you can deploy to any hosting service:

Render

The official demo uses Render. Connect your GitHub repository and deploy automatically.

Netlify

Drag and drop the project folder for instant deployment with continuous updates.

GitHub Pages

Free hosting for public repositories. Enable in repository settings.

Vercel

Zero-config deployment with automatic HTTPS and global CDN.

Self-Hosted Server

For custom infrastructure, use any web server:
# Copy files to nginx html directory
sudo cp -r AlgoritmosPlanificacion/Planificacion/* /usr/share/nginx/html/
sudo systemctl restart nginx

Browser Compatibility

The simulator is tested and works on:

Google Chrome

Version 90+ (recommended)

Mozilla Firefox

Version 88+

Microsoft Edge

Version 90+ (Chromium-based)

Safari

Version 14+ (macOS/iOS)
Internet Explorer is not supported. The simulator uses modern JavaScript features (ES6+) and Tailwind CSS.

Troubleshooting

Ensure Docker Desktop is running and you have internet access to pull the nginx:alpine base image.Try:
docker pull nginx:alpine
docker build -t algoritmos-planificacion .
Another service is using port 8080. Use a different port:
docker run -p 9000:80 algoritmos-planificacion
# Access at http://localhost:9000
The simulator uses Tailwind CDN. Ensure you have internet access or the styles won’t load. For offline use, download Tailwind CSS locally and update the <script> tag in index.html.
Some browsers restrict local file access. Solutions:
  • Use Docker deployment
  • Run a local web server (Python, Node, etc.)
  • Access the cloud demo
Render’s free tier spins down after inactivity. The first load after idle may take 30-60 seconds. Subsequent loads are instant.

Next Steps

Quick Start Guide

Run your first simulation and learn the interface

Algorithm Overview

Understand how each scheduling algorithm works

Usage Guide

Advanced configuration and simulation techniques

GitHub Repository

View source code and contribute to the project

Build docs developers (and LLMs) love