Home : OpenEdit SDK : Programming OpenEdit : Installation Tips
Installation Tips
- Download and place in your path the Java 1.5 development kit.
- Download Resin, Jetty or Tomcat and unzip them in a directory. (Resin download (pro not needed) )
- Delete the existing resin-3.0.xx\webapps\ROOT\ sub directory that was created from step 2
- Download the Demo package from our build server. (ACME Download)
- Unzip this file into webapps\ROOT\ or webapps\acme directory.
- Start your web server by running the resin\httpd.exe
- Use your web browser to navigate to http://localhost:8080/
- You should see a login. You can use a username of admin and a password of admin>
- You can edit the configuration files using any text editor or with OpenEdit itself.
- Have fun. Download a new look and feel to replace the existing layout.html and start building out your web site.
You can use the
update site tool to install or upgrade any of the advanced features.
Linux
On Linux only root applications can run on port 80. We have found that using Apache sometimes causes slowdowns and upload corruption.To re-route port 80 0ver to port 8080 use this command:
/sbin/iptables -t nat -A PREROUTING -i eth0 -d 1.2.3.4 -p tcp --dport 80 -j DNAT --to-dest 1.2.3.4:8080
To make sure local applications can get to port 80 use this local proxy tool:
/usr/sbin/rinetd
/etc/rinetd.conf :
127.0.0.1 80 209.85.16.8 8080
eCommerce
The eCommerce files are all stored in the /store and /base/store directory. You can either use the online admin tools, import from a spreadsheet or manually edit the data files.The basic steps of setting up eCommerce is:
- Delete the example products and images that come with the ACME demo. You can safely delete:
/store/products/*.*
/store/products/images/*.*
/store/configuration/catalogs.xml
- Setup your catalogs. The easy way is to use the Catalog Editor
- Once all data is setup you will want to use store admin tool to reIndex the store. This allows the catalog pages to work and allows full text search to work
- Now you can navigate to your store and begin adding descriptions to all the catalog pages and product pages.
- To customize any page or section in eCommerce you just need to copy the original file from /base/store/* directory into your own /store directory
Blog
- You will need to edit your blog you can use the blog admin tools to set your settings. Or you can edit the xml file /blog/blogsettings.xml
- To change the look of your blog you can copy any page or section from the /base/blog/ directory into your own /blog/ directory
Image Archive
The image archive is not part of the ACME demo. To install it you will want to download the WAR file directly.- Image Archive is based on the eCommerce project. All images and catalogs are stored in thee products and catalogs directory.
- To change the look and feel you can copy any files or sections from the base/archive directory into the /archive/ directory.
Intranet
- The Intranet is stored in the /intranet/ directory. You can modify any part of it if you copy the page or section from the /base/intranet directory.
- Most list of users are controlled from the User Manager application. You can select what users are part of the In Out Board and what users are listed in the company directory
- We also recommend setting up Wiki editing for portions of your site
Search
-
Search is maintained in the /search directory. Base files are stored in the /base/search directory.
- You can also follow the detailed instructions for indexing your web site on the search pages.
