Skip to content

Latest commit

 

History

History
188 lines (142 loc) · 4.23 KB

File metadata and controls

188 lines (142 loc) · 4.23 KB

✅ GDE Project - Successfully Running!

What Was Done

Following the README-DOCKER.md guide, I've successfully prepared and launched the GDE project:

Setup Steps Completed

  1. Docker containers started - All services running
  2. PHP dependencies installed - Composer packages ready
  3. Config file configured - Database and URL settings correct
  4. Permissions fixed - Proxies directory writable
  5. Database schema updated - Doctrine ORM schema in sync
  6. Full database imported - Complete course data loaded from gde_pacote.sql
  7. Web container restarted - Fresh start with all changes

🌐 Access the Application

Main Application

URL: http://localhost:3000

The application should now be fully functional with:

  • Complete course data
  • User accounts
  • Professors information
  • Class schedules
  • All features enabled

phpMyAdmin (Database Management)

URL: http://localhost:8081

  • Username: Web
  • Password: gde123
  • Database: gde

🔐 Login Credentials

According to README-DOCKER.md:

  • Username: login1
  • Password: gde42

You can also check the database for other users:

SELECT login, nome FROM gde_usuarios LIMIT 10;

📊 Container Status

All containers are running:

✅ web (Apache + PHP 8.1) - Port 3000
✅ db (MySQL 8.0) - Port 3306  
✅ phpmyadmin - Port 8081

🎯 Features Available

With the full database imported, you have access to:

  • Planejador - Course planning and scheduling
  • Busca - Search for courses, professors, students
  • Perfil - User profiles
  • Avaliações - Course evaluations
  • Amigos - Social features
  • Calendário - Calendar integration
  • And much more!

🔧 Useful Commands

Stop the Application

cd /home/lima/Documentos/repositorios/gde_com_fef
sudo docker compose down

Start the Application

sudo docker compose up -d

Restart Containers

sudo docker compose restart

View Web Logs

sudo docker compose logs -f web

View Database Logs

sudo docker compose logs -f db

Access Web Container Shell

sudo docker compose exec web bash

Access MySQL CLI

sudo docker compose exec db mysql -u root -proot gde

Re-import Database (if needed)

sudo docker compose exec -T db mysql -u root -proot gde < gde_pacote.sql

📝 Configuration Files

Database Config (common/config.inc.php)

  • ✅ Host: db
  • ✅ Database: gde
  • ✅ User: Web
  • ✅ Password: gde123

Application URL

  • ✅ URL: http://localhost:3000/

🎉 Next Steps

  1. Open the application: http://localhost:3000
  2. Login with the credentials above
  3. Explore features:
    • Go to Planejador to plan your schedule
    • Use Busca to search for courses
    • Check Perfil for your profile
    • Explore Avaliações to see course reviews

🐛 Troubleshooting

White/Blank Page

If you see a white page:

  1. Clear browser cache (Ctrl+Shift+Delete)
  2. Hard refresh (Ctrl+Shift+R or Ctrl+F5)
  3. Check logs: sudo docker compose logs web
  4. Restart containers: sudo docker compose restart

Database Connection Error

# Check if database container is running
sudo docker compose ps

# Restart database
sudo docker compose restart db

# Check database logs
sudo docker compose logs db

Permission Errors

# Fix proxies directory permissions
sudo docker compose exec web chmod -R 777 /var/www/html/proxies

Composer Errors

# Reinstall dependencies
sudo docker compose exec web composer install

📚 Documentation

  • README-DOCKER.md - Docker installation guide
  • README.md - General project information
  • CREDITS.md - Project credits

✨ Database Statistics

The imported database includes:

  • Multiple users (students, professors, admin)
  • Complete course catalog
  • Class schedules and offerings
  • Historical data
  • Evaluation data

🔒 Security Note

This is a development environment. The credentials and settings are configured for local development only. Do not use these settings in production.


Status: ✅ Project is fully set up and running!

Last Updated: December 3, 2025

Enjoy using GDE! 🚀