PHP Classes

File: Makefile

Recommend this page to a friend!
  Classes of Paulo Henrique   Ajudaime API   Makefile   Download  
File: Makefile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ajudaime API
Find people close to the user who needs help
Author: By
Last change:
Date: 4 years ago
Size: 1,254 bytes
 

Contents

Class file image Download
up: @echo '************ Create ajudaime network ************' @echo '*' @echo '*' docker network inspect ajudaime_network >/dev/null 2>&1 || docker network create ajudaime_network @echo '************ Waking UP Containers ************' @echo '*' @echo '*' docker-compose up -d @echo '*' @echo '*' @echo '************ Configuring env ************' @echo '*' @echo '*' cp .env.dist .env @echo '*' @echo '*' @echo '************ Starting API ************' @echo '*' @echo '*' @echo '************ Installing symfony ************' docker exec -it ajudaime-php composer install @echo '*' @echo '*' @echo '************ Create database ************' docker exec -it ajudaime-php php bin/console doctrine:database:create --env=dev docker exec -it ajudaime-php php bin/console doctrine:database:create --env=test @echo '************ Running migrations ************' docker exec -it ajudaime-php php bin/console doctrine:migration:migrate --env=dev @echo '************ Running migrations ************' docker exec -it ajudaime-php php bin/console doctrine:migration:migrate --env=test @echo '*' @echo '*' @echo '*' @echo '************ Running tests ************' docker exec -it ajudaime-php ./vendor/bin/simple-phpunit