This file contains hidden or 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
| ; ---------------------------------------------------------- | |
| ; | |
| ; Userscontroller (no prefixed route, no plugin) | |
| ; | |
| ; ---------------------------------------------------------- | |
| [Users] | |
| index = user, admin, hacker | |
| edit,view = user, admin | |
| * = admin |
This file contains hidden or 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
| pr(TableRegistry::get('Users')); | |
| App\Model\Table\UsersTable Object | |
| ( | |
| [table] => users | |
| [alias] => Users | |
| [entityClass] => \Cake\ORM\Entity | |
| [associations] => Array | |
| ( |
This file contains hidden or 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
| Windows mounted Synced Folder: | |
| vagrant@cakebox:~/Apps/app-plusplus$ ll tmp/cache/persistent/ | |
| total 8 | |
| drwxrwxrwx 1 vagrant vagrant 4096 Mar 5 17:45 ./ | |
| drwxrwxrwx 1 vagrant vagrant 0 Feb 18 16:10 ../ | |
| -rwxrw-rw- 1 vagrant vagrant 0 Feb 18 16:04 empty* | |
| -rwxrw-rw- 1 vagrant vagrant 1290 Mar 5 17:45 myapp_cake_core_tiny_auth_acl* | |
| -rwxrw-rw- 1 vagrant vagrant 310 Mar 5 17:44 myapp_cake_core_translations_cake_en__u_s* | |
| -rwxrw-rw- 1 vagrant vagrant 310 Mar 5 17:44 myapp_cake_core_translations_debug_kit_en__u_s* |
This file contains hidden or 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
| {"@timestamp":"2015-02-04T15:39:54.271999+00:00","@source":"cakebox","@fields":{"channel":"cli.cakebox","level":100,"ctxt_scope":[]},"@message":"================================================================================","@tags":["cli.cakebox"],"@type":"cakephp"} | |
| {"@timestamp":"2015-02-04T15:39:54.297111+00:00","@source":"cakebox","@fields":{"channel":"cli.cakebox","level":200,"ctxt_scope":[]},"@message":"Creating application http://cake3.app","@tags":["cli.cakebox"],"@type":"cakephp"} | |
| {"@timestamp":"2015-02-04T15:39:54.347413+00:00","@source":"cakebox","@fields":{"channel":"cli.cakebox","level":100,"ctxt_scope":[]},"@message":"Determining installation settings","@tags":["cli.cakebox"],"@type":"cakephp"} | |
| {"@timestamp":"2015-02-04T15:39:54.371753+00:00","@source":"cakebox","@fields":{"channel":"cli.cakebox","level":100,"ctxt_scope":[]},"@message":"Installation options:","@tags":["cli.cakebox"],"@type":"cakephp"} | |
| {"@timestamp":"2015-02-04T15:39:54.371927+00:00","@source":"cakebox","@fields":{"channel":"cl |
This file contains hidden or 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
| # ------------------------------------------------------------------------ | |
| # Use this configuration file to personalize your cakebox. See the docs at | |
| # https://cakebox.readthedocs.org/en/latest/configuration/cakebox-yml | |
| # for a list of all supported options and some inspiration. | |
| # | |
| # Please note: spaced indentation MUST be used or your box will not start! | |
| # ------------------------------------------------------------------------ | |
| vm: | |
| hostname: cakebox | |
| ip: 10.33.10.10 |
This file contains hidden or 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
| # | |
| # Default site configuration. | |
| # | |
| # Chef-cakebox-generated on 2015-01-26 13:50:35. | |
| # | |
| server { | |
| listen 80 default_server; | |
| server_name _; | |
| return 301 https://$host$request_uri; | |
| } |
This file contains hidden or 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
| # | |
| # Cakebox-generated Nginx virtual host using generic template. | |
| # | |
| server { | |
| listen 80; | |
| server_name www.cake3.app; | |
| rewrite ^(.*) http://cake3.app$1 permanent; | |
| } |
This file contains hidden or 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
| {"@timestamp":"2015-03-10T21:30:43.239651+00:00","@source":"cakebox","@fields":{"channel":"cli.cakebox","level":100,"ctxt_scope":[]},"@message":"================================================================================","@tags":["cli.cakebox"],"@type":"cakephp"} | |
| {"@timestamp":"2015-03-10T21:30:43.267047+00:00","@source":"cakebox","@fields":{"channel":"cli.cakebox","level":200,"ctxt_scope":[]},"@message":"Self-updating Cakebox Dashboard and Console Commands","@tags":["cli.cakebox"],"@type":"cakephp"} | |
| {"@timestamp":"2015-03-10T21:30:43.267479+00:00","@source":"cakebox","@fields":{"channel":"cli.cakebox","level":100,"ctxt_scope":[]},"@message":"Self-updating cakebox-console...","@tags":["cli.cakebox"],"@type":"cakephp"} | |
| {"@timestamp":"2015-03-10T21:30:43.267594+00:00","@source":"cakebox","@fields":{"channel":"cli.cakebox","level":100,"ctxt_scope":[]},"@message":"* Detecting branch","@tags":["cli.cakebox"],"@type":"cakephp"} | |
| {"@timestamp":"2015-03-10T21:30:43.267697+00:00","@source":"cakebox","@fields":{"c |
This file contains hidden or 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
| class Cakebox | |
| def Cakebox.configure(config, user_settings) | |
| require 'vagrant/util/deep_merge' | |
| require 'json' | |
| # Define absolutely required box settings | |
| settings = Hash.new | |
| settings["vm"] = Hash.new | |
| settings["vm"]["hostname"] = "cakebox" | |
| settings["vm"]["ip"] = "10.33.10.10" |