Creating an iDempiere Demo System for your Customers

The purpose of this page is to help you create a demo iDempiere system that is easy to deploy.

Sample Data

There are times when you need demo a system that has real data in it. Here is a script that will both change the client name and details as well as change the Business Partner and contact names with sample data. Here is the script. Here are the things to consider:

Using AWS

  1. Create an AWS ubuntu instance
  2. Install iDempiere
  3. Create a new client with sample data or update GardenWorld as you wish. I recommend creating a new client to give you more control.
  4. Re-run the /opt/idempiere-server/console-setup.sh and update the "Application Server Host Name:" prompt to be 0.0.0.0. This will prevent you from needing to change it on future machines. NOTE: be aware that doing so also opens iDempiere Monitor to everyone - not just localhost. This is a security risk if you have port 8443 open to the public.
  5. Add a startup script(s) to make sure the machine is correct every time is launched or rebooted by adding "@reboot /path/to/script/somescript.sh" to your cron list.
    1. Update /etc/hosts file with current hostname using: sudo sed -i '/127.0.0.1 ip-/c\127.0.0.1 '"$HOSTNAME" /etc/hosts
    2. Update AWS' DNS service (Route 53) to know the IP/Name of your newly created instance.
    3. Execute a SQL script to update the sample data to represent more customer specific details (i.e. like company name, product names, etc...)
    4. Reboot to test startup scripts
  6. In the AWS Console, right-click on your newly AWS instance and create an image (AMI). Save this AMI with the name "iDempiere Demo Template YYYYMMDD".
  7. Any time someone wants a demo system, you simply fire up a new instance of the "iDempiere Demo Template YYYYMMDD" image. This can be done via the AWS console, or it can be automated via awcli command line tools. See CLI Example Here.