Skip to content

Latest commit

 

History

History
executable file
·
60 lines (38 loc) · 1.7 KB

README.md

File metadata and controls

executable file
·
60 lines (38 loc) · 1.7 KB

deliveryApp TUPAR

Laravel Codacy Badge codecov Static Code Analysis Dusk Tests Deploy App prog. Web ll

Steps to run the project locally

Install docker

For more information visit Docker install .

Clone the repository

git clone https://github.com/agusescalante/deliveryApp.git

Configuration

Create an .env file in the project, with the following environment variables.

  • DB_CONNECTION=pgsql
  • DB_HOST=database
  • DB_PORT=5432
  • DB_DATABASE=mydb
  • DB_USERNAME=myuser
  • DB_PASSWORD=thisisasecretpassword

Composer install

In the project directory we need to install the dependencies, since in the repository they are ignored

sudo docker run --rm -v $ (pwd): / app composer install

Generate key

We need to create a key in the .env file

php artisan key: generate

Lift containers

docker-compose up -d

If everything went well, in the browser with the address localhost: 8080, we see the application