This is a laravel 5.8, PostgreSQL and pgAdmin4 project with docker-compose.
To run this project you need to have docker and docker-compose installed in your machine.
Take the following steps:
- clone this repository by executing the following command: 'git clone https://github.com/jjuanrivvera99/laravel-pgsql-docker'
- change directory: 'cd laravel-pgsql-docker'
- run command: 'docker-compose pull'
- run command: 'docker-compose up -d'
- run command: 'docker exec -it laravel bash'
- run command: 'composer install'
- create a '.env' file
- run command: 'php artisan key:generate'
- run command: 'chmod 777 -R storage bootstrap public'
Optionally commnads
- php artisan make:auth
- php artisan config:cache
- php artisan migrate
The Laravel framework is open-source software licensed under the MIT license.