Start up Scooter-powered website instantly

Basic steps

Open a terminal window, enter the scooter installation directory and type the following:

1. Create the application

> java -jar tools/create.jar blog

2. Start up the web server with default port 8080

> java -jar tools/server.jar blog

Browse the blog application: http://localhost:8080/blog. That's it!

Blog Home Page

Note: In step 1 above, you will be asked to enter site admin username and password. They are needed for using the built-in site management tools.

Directory structure of Scooter framework

+--[docs]                   Docs directory
+--[examples]               Example apps directory
+--[lib]                    Library directory
+--[logs]                   Log files directory
+--[plugins]                Plug-in directory
+--[source]                 Source code, application templates
+--[support]                Jars for build time only
+--[tools]                  Executable jars and embedded Jetty web server
+--[webapps]                Webapps directory
|   +--[ROOT]               ROOT directory
+---.classpath              Eclipse classpath file for scooter framework
+---.project                Eclipse project file for scooter framework
+---build.xml               Ant build script
+---lgpl.txt                License text
+---release.txt             Release note

Directory structure of Scooter-generated application

+--[static]                 Static files
|   +--[docs]               Docs directory
|   +--[html]               HTML files directory
|   +--[images]             Images directory
|   +--[javascripts]        JavaScript files directory
|   +--[stylesheets]        CSS files directory
|
+--[WEB-INF]                WEB-INF directory
|   +--[classes]            classes directory
|   +--[config]             Configuration files directory
|   +--[lib]                lib directory
|   +--[log]                Application log files directory
|   +--[src]                Application source code directory
|   +--[test]               Application test code directory
|   +--[views]              View files directory
|   +---.classpath          Eclipse classpath file for the app
|   +---.project            Eclipse project file for the app
|   +---web.xml             The web.xml file
|
+---index.html              index.html