| Version 4 (modified by cfgrok, 16 years ago) |
|---|
Quickstart 1: Creating a New Application
All Model-Glue applications start by creating a new copy of the "application template." That's the directory named "modelglueapplicationtemplate" that came in your Model-Glue .zip.
To deploy a new copy of the template, follow these steps:
- Create a new directory called "translator" under your Web root.
- Copy the contents of the /modelglueapplicationtemplate directory to the /translator directory.
- Open /translator/config/ColdSpring.xml
- Do a find and replace, changing "modelglueapplicationtemplate" to "translator"
- Open /translator/config/ModelGlue.xml
- Do a find and replace, changing "modelglueapplicationtemplate" to "translator"
- Open /translator/Application.cfc
- Do a find and replace, changing "modelglueapplicationtemplate" to "translator"
- Open /translator/RemotingService.cfc
- Do a find and replace, changing "modelglueapplicationtemplate" to "translator"
- Browse to http://localhost/translator. You should get a message saying that "Model-Glue is up and running!" If you don't, and you can't figure out why, now's a good time to sign up for the Model-Glue Google Group and post a question.
Optionally, you can delete the following files:
- /translator/Application.cfm
- /translator/build.properties
- /translator/build.xml
- /translator/readme.txt
Note that Application.cfm is provided for those who do not wish to use Application.cfc. If you prefer to use Application.cfm, perform steps 7 and 8 using this file instead, and be sure to delete Application.cfc, as if it is present it will take precedence over Application.cfm.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)