Most Powerful Open Source ERP

How to configure Wendelin platform using ERP5 Configurator

  • Last Update:2019-06-05
  • Version:006
  • Language:en

Access Wendelin instance

In order to access the Wendelin instance from outside the VM machine one can use ssh tunneling.

  1. Find the internal IPv4 on whcih Wendelin is listening to
    • root@wendelin-standalone:~# ps xa | grep runzope
    • root@wendelin-standalone:~# vi /srv/slapgrid/slappart0/etc/zope.conf
      # and fine block with
      <http-server>
        address 10.0.47.195:2210
      </http-server>)
  2.  Create a ssh tunnel like above from host Linux machine
    •    Host wendelin-standalone_tun
         HostName <ip_of_guess_machine>
         User root
         LocalForward 2210    10.0.47.195:2210
  3. Access locally http://localhost:2200/ and use for username: zope and for password: insecure

Another approach is using a custom socat binding script which you may adjust and run from inside the VM. You can find this script here. Please note that it assume that default machines public interface is eth0 which might not be the case of your virtual machine runner!

How to change default username's password

Once you have Wendelin up and running, you'll notice the default username is zope and the password is insecure. This needs to be immediately changed as leaving it like this is not safe.

  1. Login to your instance (IP listed by erp5-show -s or using ssh tunel),  
  2. Navigate to /manage. This is the default Zope management interface, accessible by clicking 'Zope Management Interface'
  3. From here, click the acl_users link (in the left navigation bar and also listed in the center of the page)
  4. Select the user named 'zope' and set the password to whatever you like

After changing default username's password you need to configure Wendelin instance.

How to configure Wendelin

Wendelin platform is configured using ERP5 Configurator which is an installer inside Wendelin itself.

See below some instructions:

  1. From top left select drop down box select 'Configure your Site'  and then in next page select Wendelin Configuration.
  2. Simply follow one page installation as shown in next images





 That's how we install Wendelin. After this you have a basic Wendelin platform. Its front page looks like so


 

How to use Wendelin

You can try to run any of the following examples:

  • portal_skins/erp5_wendelin_examples/game_of_life
  • portal_skins/erp5_wendelin_examples/game_of_life_out_of_core
  • portal_skins/erp5_wendelin_examples/game_of_life_out_of_core_activities


You can look at code for this examples for inspirations for writing your own ones using the quick link in "My favourites" menu -> "Manage Components".

From the same location you can also run live tests by specifying the test name to:  testWendelin or write own code and  test it using developer-Forum.Create.Unit.Tests