Complete installation guide for running GDE using Docker.
-
Start Docker containers:
docker-compose up -d
-
Run setup script:
./setup.sh
-
Install PHP dependencies:
docker-compose exec web composer install -
Create and configure the config file:
cp common/config-sample.inc.php common/config.inc.php
Edit
common/config.inc.phpand update:- Line 9: Change
define('CONFIG_DB_HOST', '127.0.0.1');todefine('CONFIG_DB_HOST', 'db'); - Line 12: Change
define('CONFIG_DB_PASS', '');todefine('CONFIG_DB_PASS', 'gde123'); - Line 27: Change
define('CONFIG_URL', 'http://localhost/Web/gde/');todefine('CONFIG_URL', 'http://localhost:3000/');
- Line 9: Change
-
Fix permissions:
docker-compose exec web chmod -R 777 /var/www/html/proxies -
Update database schema:
docker-compose exec web php vendor/bin/doctrine orm:schema-tool:update --force
- Main application: http://localhost:3000
- phpMyAdmin: http://localhost:8081
- Username:
login1 - Password:
gde42
- Database:
gde - Username:
Web - Password:
gde123 - Root password:
root
For full functionality with actual course data:
-
Download the database package:
wget https://gde.guaycuru.net/gde_pacote.zip unzip gde_pacote.zip
-
Import the database:
docker-compose exec db mysql -u root -proot gde < gde_pacote.sql
Stop the application:
docker-compose down
**View logs**:
```bash
docker-compose logs -f web
docker-compose logs -f dbRestart containers:
docker-compose restart