How to run sample applications
Sample applications are under the examples directory.
All sample applications except greeting and uploadexample were developed based on MySQL database. If you don't have a database on your computer, just run the non-database examples:
>java -jar tools/server.jar examples/greeting
Then browse the application with this url: http://localhost:8080/greeting
If you like to try a database-backed example, please do the following in order to run the sample applications. We use blog as an example.
- Create a database: mysql -u root < static/docs/blog_development.sql
- Open a terminal or command windown and enter the scooter directory
- Start web server: java -jar tools/server.jar examples/blog
- Browser: http://localhost:8080/blog