2017 © Pedro Peláez
 

library slim3-siworks-skeleton

Simple implementation of Slim3 with Doctrine

image

siworks/slim3-siworks-skeleton

Simple implementation of Slim3 with Doctrine

  • Monday, October 16, 2017
  • by siworks
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Skeleton

Installation

Clone the repository and access the directory:, (*1)

$ git clone git@github.com:siworksit/slim3-siworks-skeleton.git && cd slim3-siworks-skeleton

If you don't have the container docker-hosts-updater running, you can execute that:, (*2)

$ docker run -d --restart=always --name docker-hosts-updater -v /var/run/docker.sock:/var/run/docker.sock -v /etc/hosts:/opt/hosts grachev/docker-hosts-updater

It will automatically map the hostnames of the containers to the corresponding IPs. This mapping can be done manually through the hosts of the machine., (*3)

Execute the composer:, (*4)

$ docker-compose run --rm composer

Run the web service with docker-compose:, (*5)

$ docker-compose up -d web

Create the schema to mysql:, (*6)

$ docker exec -t dev-skeleton-web vendor/bin/doctrine orm:schema-tool:create

Access url http://dev.skeleton.siworks.com.br, (*7)

The Versions