Posted by mheydt on 9/3/2009 8:33 PM | Comments (0)
In my previous post I showed how to install Presto on Snow Leopard.  This post will show how to run Presto.  To run presto, you need to start two processes.  First of these is the repository, which is the database that Presto uses.  Presto comes with HSQLDB as part of the application, but also has support for Oracle and MySQL.  For this post, we will use HSQLDB as it is quite easy to configure and run.

To start HSQLB, from the presto install directory change to the prestoRepository/HSQLDB directory.  In that directory you will see the following files:



Something that I've noticed that is different from the Jack.Be installation notes is that you must run ./setupDB.SH, otherwise things wont work.  Then to start HSQLDB, simply type "./server.sh &".  I prefer using the "&" to have it run in the background and return control of the terminal to me:



The repository is now running.  The next step is to start the presto application.  To do this we need to change to the "mashupServer" folder off the root of the presto installation and execute "./startPresto.sh" to run presto.  If everything goes well you will see the following:



Presto is now running.  To access Presto, navigate to http://localhost:8080/presto in your browser and you will be presented a form letting you know that you need to enter your license key:



Select upgrade and enter your key, accept the terms:



Press apply and you will be shown license information and asked to confirm...



Press "go home", and you are brought to the Presto login screen:



Now login with admin/adminadmin and you are brought to the dashboard:



You are now ready to start building mashups.

In my next post, I'll show how to install some sample mashups and start building your own mashups.







Comments