From 7a0da7b80b390daf6f7242fc256846936fa4cf62 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Fri, 1 Jan 2016 21:42:40 +0100 Subject: [PATCH 1/2] add profile rochonet --- environments/index.php | 16 +++++++++++ .../rochonet/backend/config/main-local.php | 9 ++++++ .../rochonet/backend/config/params-local.php | 3 ++ environments/rochonet/backend/web/index.php | 18 ++++++++++++ .../rochonet/common/config/main-local.php | 18 ++++++++++++ .../rochonet/common/config/params-local.php | 3 ++ .../rochonet/console/config/main-local.php | 3 ++ .../rochonet/console/config/params-local.php | 3 ++ .../rochonet/frontend/config/main-local.php | 9 ++++++ .../rochonet/frontend/config/params-local.php | 3 ++ environments/rochonet/frontend/web/index.php | 18 ++++++++++++ environments/rochonet/yii | 28 +++++++++++++++++++ 12 files changed, 131 insertions(+) create mode 100644 environments/rochonet/backend/config/main-local.php create mode 100644 environments/rochonet/backend/config/params-local.php create mode 100644 environments/rochonet/backend/web/index.php create mode 100644 environments/rochonet/common/config/main-local.php create mode 100644 environments/rochonet/common/config/params-local.php create mode 100644 environments/rochonet/console/config/main-local.php create mode 100644 environments/rochonet/console/config/params-local.php create mode 100644 environments/rochonet/frontend/config/main-local.php create mode 100644 environments/rochonet/frontend/config/params-local.php create mode 100644 environments/rochonet/frontend/web/index.php create mode 100644 environments/rochonet/yii diff --git a/environments/index.php b/environments/index.php index 19c989d..0b7ad7c 100644 --- a/environments/index.php +++ b/environments/index.php @@ -62,4 +62,20 @@ return [ 'frontend/config/main-local.php', ], ], + 'rochonet' => [ + 'path' => 'rochonet', + 'setWritable' => [ + 'backend/runtime', + 'backend/web/assets', + 'frontend/runtime', + 'frontend/web/assets', + ], + 'setExecutable' => [ + 'yii', + ], + 'setCookieValidationKey' => [ + 'backend/config/main-local.php', + 'frontend/config/main-local.php', + ], + ], ]; diff --git a/environments/rochonet/backend/config/main-local.php b/environments/rochonet/backend/config/main-local.php new file mode 100644 index 0000000..af46ba3 --- /dev/null +++ b/environments/rochonet/backend/config/main-local.php @@ -0,0 +1,9 @@ + [ + 'request' => [ + // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation + 'cookieValidationKey' => '', + ], + ], +]; diff --git a/environments/rochonet/backend/config/params-local.php b/environments/rochonet/backend/config/params-local.php new file mode 100644 index 0000000..d0b9c34 --- /dev/null +++ b/environments/rochonet/backend/config/params-local.php @@ -0,0 +1,3 @@ +run(); diff --git a/environments/rochonet/common/config/main-local.php b/environments/rochonet/common/config/main-local.php new file mode 100644 index 0000000..54fff94 --- /dev/null +++ b/environments/rochonet/common/config/main-local.php @@ -0,0 +1,18 @@ + [ + 'db' => [ + 'class' => 'yii\db\Connection', + 'dsn' => 'mysql:host=localhost;dbname=botond_fitness', + 'username' => 'root', + 'password' => 'botond2015', + 'charset' => 'utf8', + ], + 'mailer' => [ + 'class' => 'yii\swiftmailer\Mailer', + 'viewPath' => '@common/mail', + 'fileTransport' => true, + 'transport' =>[] + ], + ], +]; diff --git a/environments/rochonet/common/config/params-local.php b/environments/rochonet/common/config/params-local.php new file mode 100644 index 0000000..d0b9c34 --- /dev/null +++ b/environments/rochonet/common/config/params-local.php @@ -0,0 +1,3 @@ + [ + 'request' => [ + // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation + 'cookieValidationKey' => '', + ], + ], +]; diff --git a/environments/rochonet/frontend/config/params-local.php b/environments/rochonet/frontend/config/params-local.php new file mode 100644 index 0000000..d0b9c34 --- /dev/null +++ b/environments/rochonet/frontend/config/params-local.php @@ -0,0 +1,3 @@ +run(); diff --git a/environments/rochonet/yii b/environments/rochonet/yii new file mode 100644 index 0000000..1fe0342 --- /dev/null +++ b/environments/rochonet/yii @@ -0,0 +1,28 @@ +#!/usr/bin/env php +run(); +exit($exitCode); From 62bcb7ff27c05807177ecbfdc00174fe06cdf130 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Fri, 1 Jan 2016 21:44:19 +0100 Subject: [PATCH 2/2] change version to v0.0.13 --- changelog.txt | 2 ++ common/config/params.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index d9dc945..d5ce27c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,5 @@ +-0.0.13 + - add new profile rocho-net -0.0.12 - change formatter timezone -0.0.11 diff --git a/common/config/params.php b/common/config/params.php index 487f486..fca7df1 100644 --- a/common/config/params.php +++ b/common/config/params.php @@ -3,5 +3,5 @@ return [ 'adminEmail' => 'rocho02@gmail.com', 'supportEmail' => 'rocho02@gmail.com', 'user.passwordResetTokenExpire' => 3600, - 'version' => 'v0.0.12' + 'version' => 'v0.0.13' ];