- .env file tracked/pushed intentionally
- Developed on Windows 11 - WSL2 - Ubuntu Subsystem
- Stable version of Docker
- Compatible version of Docker Compose
git clone https://github.com/ErayerA/sdp-api.git
cd sdp-api
docker compose up -d --build
docker compose exec phpmyadmin chmod 777 /sessions
docker compose exec php bash
chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache
chmod -R 775 /var/www/storage /var/www/bootstrap/cache
composer setup
docker compose up -d
docker compose exec php bash
php artisan queue:listen
sh owners.sh
- Fill
client_secret
envrionment variable with the same field's value of the only existing row inoauth_clients
db table - Run
GetAccessToken
request first and let the token to be saved to environment.
php artisan migrate:fresh --seed
php artisan app:renew-subscriptions
<project_root>/SDP.postman_collection.json
- URL: http://localhost
- URL: http://localhost:8080
- Server:
db
- Username:
mukellef
- Password:
mukellef
- Database:
main