svn co https://ogce.svn.sourceforge.net/svnroot/ogce/ShindigOGCE/ishindig-trunk/ ogce-gadget-container
You can also download the tar through SF's source code browser: http://ogce.svn.sourceforge.net/viewvc/ogce/ShindigOGCE/ishindig-trunk.tar.gz?view=tar
Next, cd into the source directory and do the following:
* Unpack Apache Maven (included in the download):
tar -zxf apache-maven-2.2.1.tar.gz; export PATH=/path/to/ogce-gadget-container/apache-maven-2.2.1/bin:$PATH
This will make sure you have the correct version of Maven.
* Edit config/ishindig.properties. Edit site.host to be your server's IP address. You can use localhost if you want. For your first build, don't change the H2 database settings, but you can use MySQL in the future.
* Build and deploy everything by running mvn clean install from the top level directory (ogce-gadget container if you used the svn checkout command above).
* Start Tomcat with startup-tomcat.sh.
You should now point your browser to
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVtPYRn-IiXy4FDN6y2-VYduLiRSaoIU2C6RBwSfDHEObwLY6YlUcb3ZkB-7M4LEo_zCZ5GY6LovD-GJnshJk3Mc-R3-7kE3U7IJAlzDSFcI2X1f_ApF5QVi5NMwO1seN2hrXl/s320/Picture+48.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC8p0-IIhC5-e1xtXIJAje2fOtlBGK_wFFO9dFfiezO0OTUSBUpAqRrJECssPD-aZzkOpNbkwuAlOKqmD56ko0i6OEEWvBfhIb5xEqh4m1CGrEAZlbD5z2lRw0Jv2KomnYy7en/s320/Picture+49.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid8blTCsFcO5pXxKJ0vIMpj68XBZ2W7MY-_ZyOopoJqt2tYP8dTJpc7Fxv54jpdUdPjOknNxU1q6XZKot5fTCiOhhgBu2prWFIQlTtoSOoH9A5h_ztd3LYy_eJg4bw6HK1HPV4/s320/Picture+53.png)
To add a gadget, click the "Add a gadget" link in the upper left tool bar area. Fill out the form by providing a nickname for the Gadget and the URL to its XML definition.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOrvrByipmDF-rSxJqt6T-yheC_vn_wnBxI2ec4vMKtsKURAOpFtyrWNWtlGnqvcwbzk1cpRYuuW-jKsU_ZH9O9XInz4M-C1OwC22t6h4MzpLcMIqhckSPmTKhUVy3CfJU0S16/s320/Picture+50.png)
To administer users, click the Admin interface link on the login page and log in as administrator (admin/admin are the defaults).
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAgumm8WFCnfKSTkRd8GiO7828yWFHkehGOhY8qxrl2LZGA9iGLcishUCoeEHlzlB5YWlXvdLNPM_NPxXHnKoMfNzXCKdmg4ZYESoQBScpvGyf_ngH91O5c8PaMPAVBwClWuWg/s320/Picture+52.png)
Finally, you can clean up your installation with the command mvn clean. This will return you to the original SVN check out state, EXCEPT it will not delete the database. If using the default H2 database, the directory for the database files is set in conf/ishindig.properties. By default the directory is located in $HOME/ogce-h2-data/. You must delete this manually.
No comments:
Post a Comment