This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ composer create-project --stability=beta phundament/app:4.0.* app-v4-beta1 | |
Installing phundament/app (4.0.0-beta1) | |
- Installing phundament/app (4.0.0-beta1) | |
Cloning 8ddc349022caa11db0f13cae50bb23e97e4d68d1 | |
Created project in app-v4-beta1 | |
Loading composer repositories with package information | |
Installing dependencies (including require-dev) from lock file | |
- Installing bower-asset/jquery (2.1.1) | |
Cloning 4dec426aa2a6cbabb1b064319ba7c272d594a688 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kraftbuch:Desktop tobias$ docker kill $(docker ps -a -q) | |
3e6702868b88 | |
5e016c7d72ab | |
115f3dc7fe62 | |
948aa7850412 | |
b0c817b4b220 | |
ff372e6ede6b | |
637f0ae741f4 | |
e932f9dc1355 | |
c6af5af7455b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use yii\helpers\Inflector; | |
?> | |
<div class="crud-default-index"> | |
<h1><?= $this->context->action->uniqueId ?></h1> | |
<div class="box"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tree | |
├── CHANGELOG.md | |
├── Dockerfile | |
├── LICENSE.md | |
├── README.md | |
├── Vagrantfile | |
├── assets | |
│ ├── AppAsset.php | |
│ ├── less |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./yii gii/extension \ | |
--vendorName=dmstr \ | |
--packageName=yii2-application-info \ | |
--namespace=dmstr\\modules\\backend\\ \ | |
--license=BSD-3-Clause \ | |
--title="Extended application information for Yii 2.0 Framework" \ | |
--description="Provides in-depth configuration and application information" \ | |
--authorName="Tobias Munk" \ | |
--authorEmail=tobias@diemeisterei.de | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "hashicorp/precise64" | |
config.vm.synced_folder "./", "/vagrant", type: "rsync" | |
# Access docker container via private_network interface | |
# Port mapping to this IP can be defined in the Vagrantfile of the container | |
config.vm.network "private_network", ip: "192.168.3.3", netmask: "255.255.255.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kraftbuch:~ tobias$ docker ps | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
147224c0610c mariadb:latest "/docker-entrypoint. 2 minutes ago Up 2 minutes 3306/tcp playground_db_1 | |
c5895d1f7938 redis:latest "/entrypoint.sh redi 2 minutes ago Up 2 minutes 6379/tcp playground_redis_1 | |
2202a4c7ede8 091d8fc7f5fd "/root/run.sh" 5 minutes ago Up 5 minutes 0.0.0.0:49184->80/tcp playground_prodweb_9 | |
151240a93e87 091d8fc7f5fd "/root/run.sh" 5 minutes ago Up 5 minutes 0.0.0.0:49183->80/tcp playground_prodweb_8 | |
951048fa14ab 091d8fc7f5fd "/root/run.sh" 5 minutes ago Up 5 minutes 0.0.0.0:49182->80/tcp playground_prodweb_7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file is generated by the "yii asset" command. | |
* DO NOT MODIFY THIS FILE DIRECTLY. | |
* @version 2015-03-06 06:45:46 | |
*/ | |
return [ | |
'frontend' => [ | |
'class' => 'yii\\web\\AssetBundle', | |
'basePath' => '@app/web/assets-prod', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: all build default release | |
default: build | |
all: build | |
build: yii2 phundament | |
yii2: | |
docker build -t schmunk42/php-yii2:cli stacks/yii2/stack/php-cli |