2017 © Pedro Peláez
 

project service-skeleton

Microservice application template

image

0xhexspeak/service-skeleton

Microservice application template

  • Saturday, March 11, 2017
  • by 0xhexspeak
  • Repository
  • 2 Watchers
  • 9 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 50 % Grown

The README.md

service-skeleton

Microservice skeleton based on yii2 framework., (*1)


Docker installation

Before installation, (*2)

  1. Read about [docker] (https://docker.com). You should be familiar with basic concepts before starting.

Installation

  1. Follow [docker install] (https://docs.docker.com/engine/installation/) instruction
  2. Install composer globally (https://getcomposer.org/download/)
  3. Run the following command from the project root docker/start.sh

Docker FAQ

How do i run yii console command?, (*3)

  1. docker-compose exec app console/yii help
  2. docker-compose exec app console/yii migrate
  3. docker-compose exec app console/yii migrate/down etc.

How to connect to the application database with my workbench?, (*4)

MySQL is available on localhost, port 33061. User - api_dbu, password - api_pass., (*5)

The Versions