Giter Site home page Giter Site logo

loadsys / cakephp-ember-skel Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 4.0 863 KB

A project skeleton for CakePHP bake script to start a base Ember.js project with a build process

JavaScript 40.68% PHP 48.42% Shell 0.53% Batchfile 0.48% Handlebars 0.43% CSS 9.46%

cakephp-ember-skel's People

Contributors

joeytrapp avatar justinyost avatar ricog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cakephp-ember-skel's Issues

Problem with include paths

I followed all the instructions on your blog page (installing node.js, grunt etc.) and when I got to the part where you bake the project, heres what happened:

Welcome to CakePHP v2.4.5 Console

App : ember_test

Path: /var/www/ice/app/ember_test/

Skel Directory: /var/www/Developer/Skel/CakePHP-Ember-Skel

Will be copied to: /var/www/ice/app/ember_test

Look okay? (y/n/q)

[y] > y

Created: ember_test in /var/www/ice/app/ember_test

  • Random hash key created for 'Security.salt'
  • Random seed created for 'Security.cipherSeed'
  • Cache prefix set
    Unable to set console path for app/Console.
    CakePHP is not on your include_path, CAKE_CORE_INCLUDE_PATH will be hard coded.
    You can fix this by adding CakePHP to your include_path.
    Unable to set CAKE_CORE_INCLUDE_PATH, you should change it in /var/www/ice/app/ember_test/webroot/index.php
    Project baked but with some issues..

I didn't think too much of it, but when I tried running the cleanup script I got these errors:
horse@box:/var/www/ice/app/ember_test$ ./Console/cake cleanup
PHP Warning: include(Cake/Console/ShellDispatcher.php): failed to open stream: No such file or directory in /var/www/ice/app/ember_test/Console/cake.php on line 29
PHP Warning: include(): Failed opening 'Cake/Console/ShellDispatcher.php' for inclusion (include_path='/var/www/ice/app/ember_test:/var/www/ice/app/ember_test/Lib:.:/usr/share/php:/usr/share/pear') in /var/www/ice/app/ember_test/Console/cake.php on line 29
PHP Fatal error: Could not locate CakePHP core files. in /var/www/ice/app/ember_test/Console/cake.php on line 30

I can see its all related to the include_path, so I should be able to solve this easily enough, I just thought I'd give you a heads up that this problem occured for me, so its probably occuring for others.

Bower - Question

Since you've commited the initial vendor js files (jQuery, Ember, etc.), I was wondering if it wouldn't be better to add .bowerrc and component.json files in order to run a "bower install" on the app root and have it install the latest versions?

Let me know what you think, and thanks for this cool Skel!

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.