Giter Club home page Giter Club logo

fuelphpstudy's Introduction

FuelPHPStudy

Studying is fun for me. FuelPHP Version: 1.8.2

「はじめてのフレームワークとしてのFuelPHP第2版(3) 実践」をDocker環境で構築してみました。

公開側フォーム

http://localhost/form or https://localhost/form

管理側フォーム

http://localhost/admin or https://localhost/admin

ID:admin PW:password

phpMyAdmin

http://localhost:8080/

Dockerコンテナ構成

HTTPSエンドポイントコンテナ(ローカルホストのみ有効):steveltn/https-portal:1
Webコンテナ:CentOS 7.7.1908,Apache 2.4.6,PHP 5.4.16 with Xdebug v2.2.7
DBコンテナ:mariadb-5.5.64-trusty
phpMyAdminコンテナ:phpmyadmin/phpmyadmin

Dockerコンテナ構成

環境構築の手順

$ docker-compose -f docker-compose.yml up -d --build

HTTPSを有効にする場合 (localhost ONLY.)

$ docker-compose -f docker-compose.yml -f docker-compose.local-https-portal.yml up -d --build

No Composer autoloader found. *** とブラウザに表示された場合

$ docker-compose down
$ docker-compose run --rm web php composer.phar install

ユニットテスト

$ docker exec -it web-container /bin/bash
$ php oil test --group=App
$ php oil test --group=Functional

素晴らしい本

はじめてのフレームワークとしてのFuelPHP第2版(3) 実践編

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.