2017 © Pedro Peláez
 

project classic-app

image

penny/classic-app

  • Tuesday, March 8, 2016
  • by GianArb
  • Repository
  • 2 Watchers
  • 5 Stars
  • 39 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

Penny Skeleton Application

Build Status, (*1)

This is a first penny implementation. It integrates league/plates and help you to build an HTML application., (*2)

Installation

$ composer create-project penny/classic-app -s dev
$ cd classic-app
$ npm install
$ grunt dev

Note:
bower and grunt require node.js this is only an example of method to manage static asset, if you don't have familiarity with this tools no problem, you can use assetic, download all static deps into the public dir or other solutions., (*3)

Built-in webserver

$ php -S 127.0.0.1:8080 -t public

it's ready! You can visit 127.0.0.1:8080., (*4)

Docker (NGINX/PHP-FPM)

Attention: This is a development environent due to how services are configured. If you want to use it in production you have to: disable error reporting, persist logs, raise limits and fine tune your configurations., (*5)

This repository contains a docker-compose.yml.dist file which currently configures two containers, one with the NGINX webserver and one with php-fpm. This file must be renamed into docker-compose.yml and modified if you need something specific for your system like paths, ip addresses, ports and so on. Remember that the docker-compose.yml file is ignored since this is very specific to the current installation., (*6)

Requirements

Create your docker-compose.yml

$ cp docker/docker-compose.yml.development docker-compose.yml
# edit it for your specific needs
$ vi docker-compose.yml 

Build

Before starting you have to build penny-classic specific images, to do it issue a:, (*7)

$ docker-compose build

Up and running

$ docker-compose up -d

Endpoints

IP addresses can be configured in docker-compose.yml, (*8)

  • Application: http://127.0.0.10

Know how

This skeleton application not resolve ALL your problems and it's not perfect, this is a starting point and implementation example. The penny's target is this! You are free to build your implementation, it made of experience and need., (*9)

The Versions

08/03 2016
27/11 2015

dev-samsonasik-patch-2

dev-samsonasik-patch-2

  Sources   Download

The Requires

 

The Development Requires