Created
May 8, 2012 17:10
-
-
Save collinschaafsma/2637446 to your computer and use it in GitHub Desktop.
farmhand structure
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
├── Gemfile | |
├── Thorfile | |
├── client | |
│ ├── app | |
│ │ ├── config.js | |
│ │ ├── farmhand.js | |
│ │ ├── main.js | |
│ │ ├── modules | |
│ │ │ └── crop.js | |
│ │ └── templates | |
│ │ └── crop.html | |
│ ├── assets | |
│ │ ├── css | |
│ │ │ ├── index.css | |
│ │ │ └── style.css | |
│ │ ├── img | |
│ │ │ └── backbone.png | |
│ │ └── js | |
│ │ ├── libs | |
│ │ │ ├── almond.js | |
│ │ │ ├── backbone.js | |
│ │ │ ├── jquery.js | |
│ │ │ ├── require.js | |
│ │ │ └── underscore.js | |
│ │ └── plugins | |
│ │ └── use.js | |
│ ├── grunt.js | |
│ └── test | |
│ ├── jasmine | |
│ │ ├── index.html | |
│ │ ├── spec | |
│ │ │ └── crop.js | |
│ │ └── vendor | |
│ │ ├── MIT.LICENSE | |
│ │ ├── jasmine-html.js | |
│ │ ├── jasmine.css | |
│ │ ├── jasmine.js | |
│ │ └── jasmine_favicon.png | |
│ └── qunit | |
│ ├── index.html | |
│ ├── tests | |
│ │ └── crop.js | |
│ └── vendor | |
│ ├── qunit.css | |
│ └── qunit.js | |
├── config.ru | |
├── public | |
│ └── assets | |
│ └── favicon.ico | |
└── server | |
├── app | |
│ ├── endpoints | |
│ │ ├── api | |
│ │ │ └── crops_endpoint.rb | |
│ │ └── home_endpoint.rb | |
│ ├── interfaces | |
│ │ └── api | |
│ │ └── crops_interface.rb | |
│ ├── models | |
│ │ └── crop.rb | |
│ ├── presenters | |
│ │ └── api | |
│ │ └── crop_presenter.rb | |
│ └── templates | |
│ └── layouts | |
│ └── application.html | |
├── config | |
│ ├── boot.rb | |
│ └── database.rb | |
├── lib | |
└── test | |
└── test_helper.rb | |
33 directories, 39 files | |
$ farmhand [options] new my_app | |
# options | |
--no-client | |
--no-server | |
--no-backbone | |
--no-database | |
--database=postgresql | mongodb | couchdb | mysql | |
--client-template-engine=mustache | underscore | etc | |
$ farmhand console | |
=> irb | |
$ farmhand cultivate assets | |
=> public/assets/js/*.js | |
=> public/assets/css/*.css | |
$ farmhand cultivate model Crop | |
=> server/app/models/crop.rb | |
=> server/test/models/crop_test.rb | |
$ farmhand cultivate endpoint api/crop | |
=> server/app/endpoints/api/crop_endpoint.rb | |
=> server/test/endpoints/api/crop_endpoint_test.rb | |
$ farmhand cultivate presenter api/crop | |
=> server/app/presenters/api/crop_presenter.rb | |
=> server/test/presenters/api/crop_presenter_test.rb | |
$ farmhand cultivate interface api/crop | |
=> server/app/interfaces/api/crop_interface.rb | |
=> server/test/interfaces/api/crop_interface_test.rb | |
$ farmhand cultivate resource api/crop | |
=> server/app/models/crop.rb | |
=> server/app/endpoints/api/crop_endpoint.rb | |
=> server/app/presenters/api/crop_presenter.rb | |
=> server/app/interfaces/api/crop_interface.rb | |
=> server/test/models/crop_test.rb | |
=> server/test/endpoints/api/crop_endpoint_test.rb | |
=> server/test/presenters/api/crop_presenter_test.rb | |
=> server/test/interfaces/api/crop_interface_test.rb | |
$ farmhand cultivate module crop | |
=> client/app/modules/crop.js | |
=> client/test/qunit/tests/crop.js | |
=> client/test/jasmin/spec/crop.js | |
$ farmhand scaffold api/crop | |
=> server/app/models/crop.rb | |
=> server/app/endpoints/api/crop_endpoint.rb | |
=> server/app/presenters/api/crop_presenter.rb | |
=> server/app/interfaces/api/crop_interface.rb | |
=> client/app/modules/crop.js | |
=> server/test/models/crop_test.rb | |
=> server/test/endpoints/api/crop_endpoint_test.rb | |
=> server/test/presenters/api/crop_presenter_test.rb | |
=> server/test/interfaces/api/crop_interface_test.rb | |
=> client/test/qunit/tests/crop.js | |
=> client/test/jasmin/spec/crop.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment