1 The Generator project is a fully customizable code generator written in Boo and templates with ASP style syntax.
\r
3 The scaffold and project generators are heavily inspired by RoR, it generates real code you can modify for the controller, the views, layouts, css and tests. The CRUD views will look similar to current MR scaffold with the difference that the code is live in you project so you can add a field, color, validation, change the workflow without copy-pasting (hurrr...) from the last controller you've done! Plus you already got some running tests!
\r
5 This is a work in progress and considered in early alpha stage so use at your own risk but contributions or comments are welcome.
\r
7 Consult the project home page for more information (http://wiki.castleproject.org/index.php/Generator).
\r
11 To install the generate and monorail command line script, run:
\r
15 On Windows, monorail.bat and generate.bat will be copied to your c:\Windows directory. On Unix, the monorail and generate bash scripts will be copied to /usr/bin. You can change this directory by setting the 'to' property, like this:
\r
16 nant install -D:to=/opt/local/bin
\r
17 Now the generate and monorail scripts are accessible from everywhere! Just like Jesus!
\r
21 To compile from source you need NAnt 0.85, then from the base directory, run:
\r
26 To run automated tests, from the base directory, run:
\r
31 Afther installation, simply run:
\r
33 Or the MonoRail project generator shortcut:
\r
34 monorail MyMonoRailProject