Code Fist Punch of gem and commandy awesomeness #5

Closed
wants to merge 27 commits into
from

Conversation

Projects
None yet
2 participants
@baroquebobcat
Owner

baroquebobcat commented Sep 11, 2010

here is my work at making a Dubious gem with a bin that lets you do:

dubious new app
dubious generate controller contacts
dubious generate model contact

baroquebobcat added some commits Jul 23, 2010

WIP:gemifying, commandifying, examplifying
moved example app to examples,
changed lib to be a ruby gem style rb lib
started working on a cli

doesn't completely work yet,
but it properly copies templates

try
   cd /tmp
   ./path-to-dubious/bin/dubious init foobar

pretty neat?
@woodie

This comment has been minimized.

Show comment Hide comment
@woodie

woodie Aug 1, 2010

This comment has been minimized.

Show comment Hide comment
@woodie

woodie Aug 1, 2010

ds

ds

This comment has been minimized.

Show comment Hide comment
@baroquebobcat

baroquebobcat Aug 1, 2010

Owner

I just cped duby's, to begin with. I'll fix it up.

Owner

baroquebobcat replied Aug 1, 2010

I just cped duby's, to begin with. I'll fix it up.

baroquebobcat added some commits Aug 2, 2010

Merge branch 'master' into commands_and_templates
Conflicts:
	app/models/contact.duby
	app/models/contacts.duby
	examples/contacts/app/models/contacts.duby
	script/asset_cache.rb
	script/build.sh
fixing up some generator action
dubious generate controller name
dubious generate model name
build dubious jar into gem, hook jar into init script
run in dubious root
  jruby -S rake jar
which builds lib/dubious.jar
then gem build the gem spec
and install it

then run 'dubious init testing' somewhere
  cd testing
  jruby -S rake server
clean templates, rakefile, examples
  remove js, css from template that was used by source app
  clean up rakefile--remove unneeded tasks/references to build
  clean up generators.
  ignore gem files etc
Merge branch 'master' into commands_and_templates
Conflicts:
	WEB-INF/app.yaml
	app.yaml
	examples/contacts/app.yaml
	lib/dubious/templates/base/public/javascripts/effects.js
	lib/dubious/templates/base/public/javascripts/prototype.js
@woodie

This comment has been minimized.

Show comment Hide comment
@woodie

woodie Sep 11, 2010

Both effects.js and prototype.js are gone. we now use jQuery on the welcome page.
The app.yaml file MUST go inside WEB-INF as of SDK 1.3.6

woodie commented on a4febc2 Sep 11, 2010

Both effects.js and prototype.js are gone. we now use jQuery on the welcome page.
The app.yaml file MUST go inside WEB-INF as of SDK 1.3.6

This comment has been minimized.

Show comment Hide comment
@baroquebobcat

baroquebobcat Sep 11, 2010

Owner

the app.yaml thing explains why I didn't see it looking at some other project examples.

Owner

baroquebobcat replied Sep 11, 2010

the app.yaml thing explains why I didn't see it looking at some other project examples.

This comment has been minimized.

Show comment Hide comment
@baroquebobcat

baroquebobcat Sep 11, 2010

Owner

Note that effects.js and prototype.js are deleted.

Owner

baroquebobcat replied Sep 11, 2010

Note that effects.js and prototype.js are deleted.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment