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
- Cloud Demo (Instant)
- Local Files
- Docker
Option 1: Access the Live Demo
The fastest way to use the simulator - no installation required!Live URL: https://planificacion-app-rcl8.onrender.comThe 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: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)
Test Basic Simulation
- Click FIFO
- Enter
2for number of processes - Click Continue
- Enter process data:
- Process 1: Arrival
0, CPU3 - Process 2: Arrival
1, CPU2
- Process 1: Arrival
- Click Simular
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)
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: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)
Troubleshooting
Docker build fails
Docker build fails
Ensure Docker Desktop is running and you have internet access to pull the
nginx:alpine base image.Try:Port 8080 already in use
Port 8080 already in use
Another service is using port 8080. Use a different port:
Tailwind CSS not loading
Tailwind CSS not loading
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.Local file CORS errors
Local file CORS errors
Some browsers restrict local file access. Solutions:
- Use Docker deployment
- Run a local web server (Python, Node, etc.)
- Access the cloud demo
Cloud demo is slow
Cloud demo is slow
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