meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
android2012:qeta [2012/10/16 14:45] mikkopyy [Environment] |
android2012:qeta [2012/10/17 14:20] (current) aknutas [Development / Java] |
||
---|---|---|---|
Line 2: | Line 2: | ||
**Question instructions: | **Question instructions: | ||
- | \\ **Answer instructions: | + | \\ **Answer instructions: |
== Sample Question (replace with your own topic and copy below) == | == Sample Question (replace with your own topic and copy below) == | ||
Line 10: | Line 10: | ||
===== Development / Java ===== | ===== Development / Java ===== | ||
+ | \\ **Q:** How I can make custom web addresses? | ||
+ | \\ **A:** See the Grails guide at section about [[http:// | ||
===== The SCRUM Development Process ===== | ===== The SCRUM Development Process ===== | ||
== User stories == | == User stories == | ||
**Q:** What are user stories? | **Q:** What are user stories? | ||
- | \\ **A:** Wikipedia: //"In software development and product management, a user story is one or more sentences in the everyday or business language of the end user or user of a system that captures what a user does or needs to do as part of his or her job function."// | + | \\ **A:** Wikipedia: //"In software development and product management, a user story is one or more sentences in the everyday or business language of the end user or user of a system that captures what a user does or needs to do as part of his or her job function."// |
===== Environment ===== | ===== Environment ===== | ||
== Grails database == | == Grails database == | ||
**Q:** Can I get a persistant database for Grails that can also be edited with a visual editor? | **Q:** Can I get a persistant database for Grails that can also be edited with a visual editor? | ||
- | \\ **A:** Yes, you can install for example MySQL on the development virtual machine and use it with Grails. For installation, | + | \\ **A:** Yes, you can use embedded h2browser. This can be activated by opening |
+ | \\ {{:: | ||
- | \\ Yes, you can use embedded h2browser. This can be activated by opening http://localhost:8080/workforecast/dbconsole/login.jsp (change | + | You might also need to change the '' |
+ | |||
+ | If you have trouble getting your db to persist then change the name of the database from DataSource.groovy, run clean from groovy toolkit Project menu folder. Then change it back to devDB (or whatever | ||
+ | |||
+ | == Grails database, H2 problems == | ||
+ | **Q:** My database does not reset each time or the database console is not available. | ||
+ | \\ **A:** Check from your project preferences Grails section that your project is set to //dev// instead of //prod//. | ||
+ | |||
+ | == Grails database, persistence == | ||
+ | **Q:** How can I store the default H2 database | ||
+ | \\ **A:** Change | ||
+ | < | ||
+ | development { | ||
+ | dataSource { | ||
+ | dbCreate = " | ||
+ | url = " | ||
+ | } | ||
+ | } | ||
+ | </ | ||
== Virtual Machines in Classroom 6216 == | == Virtual Machines in Classroom 6216 == | ||
**Q:** My VM doesn' | **Q:** My VM doesn' | ||
- | \\ **A:** Your VM has insufficient permissions to run after extraction from the ZIP file. Right-click the extracted directory, go to // | + | \\ **A:** Your VM has insufficient permissions to run after extraction from the ZIP file. Right-click the extracted directory, go to // |