PHP Classes

File: Makefile

Recommend this page to a friend!
  Classes of Paulo Henrique   PHP Personal Finance App API   Makefile   Download  
File: Makefile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Personal Finance App API
Provides an API to control personal expenses
Author: By
Last change:
Date: 4 years ago
Size: 1,263 bytes
 

Contents

Class file image Download
up: @echo '************ Create Kontatudo network ************' @echo '*' @echo '*' docker network inspect kontatudo_network >/dev/null 2>&1 || docker network create kontatudo_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 kontatudo-php composer install @echo '*' @echo '*' @echo '************ Create database ************' docker exec -it kontatudo-php php bin/console doctrine:database:create --env=dev docker exec -it kontatudo-php php bin/console doctrine:database:create --env=test @echo '************ Running migrations ************' docker exec -it kontatudo-php php bin/console doctrine:migration:migrate --env=dev @echo '************ Running migrations ************' docker exec -it kontatudo-php php bin/console doctrine:migration:migrate --env=test @echo '*' @echo '*' @echo '*' @echo '************ Running tests ************' docker exec -it kontatudo-php ./vendor/bin/simple-phpunit