[[TOC(heading=Training Section Contents, Training*)]] = Section 1: Installation = 1. Extract the [http://model-glue.com/blog/enclosures/PlantOMatic.zip PlantOMatic.zip] file into your webroot. 1. Setup required frameworks '''*''' a. Move the entire /PlantOMatic/_install/coldspring directory into your webroot. a. Move the entire /PlantOMatic/_install/ModelGlue directory into your webroot. a. Move the entire /PlantOMatic/_install/reactor directory into your webroot. 1. Create a new empty database called plantomatic in either MSSQL or MySQL and run the appropriate script (appropriate .sql file in /PlantOMatic/_install/) to create the table structure and populate the database with initial data. 1. '''Note:''' If you use MSSQL, you must change line 107 in /PlantOMatic/config/ColdSpring.xml to: {{{ mssql }}} 1. Create a new data source in your !ColdFusion Administrator. Name the data source plantomatic 1. Open up your web browser and visit: [http://localhost/PlantOMatic http://localhost/PlantOMatic] and compare your results with a successful installation shown in the figure below: [[Image(training01-1.png, nolink)]][[BR]] '' A successful install '' '''* Note:''' If you already have these setup w/mappings you may get an error. Disable the mappings while doing the training. == If You Have Errors At This Point == '''* Note:''' If you can not complete these steps, it's likely you do not have the files in your webroot. /ModelGlue, /ColdSpring, /PlantOMatic and /Reactor should all be in sibling directories. (All at the same level.) If each directory can not be placed in the webroot, you will need to create a mapping in your ColdFusion Administrator ( Or in Application.cfc if you prefer ) '''* To Find The Problem:''' Use your web browser to click on each link below. If you get sent to the CF Component Browser, your directory location is correct. If you get a 'Page Not Found' or a '404' page, your directory location is not correct and you need to move the framework to a sibling location of PlantOMatic, or add a mapping to your ColdFusion Administrator. Unless all frameworks are in the expected location, PlantOMatic will not run. ''ColdSpring: '' [http://localhost/coldspring/beans/BeanFactory.cfc][[BR]] ''ModelGlue: '' [http://localhost/ModelGlue/gesture/ModelGlue.cfc][[BR]] ''Reactor: '' [http://localhost/reactor/reactorFactory.cfc][[BR]] ''PlantOMatic: '' [http://localhost/PlantOMatic/controller/GlobalController.cfc][[BR]] '''If you are still stuck, now's a good time to sign up for the [http://groups.google.com/group/model-glue Model-Glue Google Group] and post your question. Be sure to be explicit with what you've already done, and any error messages you are getting. ---- Next: [wiki:Training/Section02 Training Section 2: Show Me Some Skinning]