Language:


Creating a New Database - Multi-user Sample

The Standard ERP installation package includes a set of sample data that you can use to create a sample database. This will allow you to test new or unfamiliar Standard ERP features before using them in your "live" database. A sample database is fully functional with the exception that Cloud Services are disabled. You can use a sample database for 30 days, after which it will go into restricted mode. From that time onwards, you will only be able to print reports and documents to screen, not to a printer, to file or to any other medium. Exporting from a sample database and importing to a new database before the 30-day point will cause the new database to go to restricted mode immediately.

On this page, we describe configuring a multi-user Standard ERP sample database in which the server and client application both reside on the same machine. This configuration is for trial and demonstration purposes only and is not supported for "live" databases. Follow these steps:

  1. Referring to the Multi-user Installation page, download the server and client applications that are appropriate for your test machine.

  2. Install the server application as follows:

    1. If you are using a Windows machine, the server application is supplied as an installer file. Launch the installer by double-clicking, and follow the instructions on screen. The default installation path is C:\Program Files (x86)\HansaWorld\Standard ERP Server\ (32-bit version of the server application) or C:\Program Files\HansaWorld\Standard ERP Server\ (64-bit version).

    2. If you are using macOS, open the server .dmg file (named "standarderp.server.dmg") by double-clicking, and then copy the folder it contains to the 'Applications' folder.
    3. If you are using Linux, expand the server .tgz file (named "standarderp.server.tgz") by double-clicking, and then copy the folder it contains to the 'Applications' folder.

  3. If you are using a Windows machine, start the server application as follows:

    1. Use Notepad or a similar text-editing program to create a text file named "parameters.txt". Save this file in the "Standard ERP Server" directory, on the same level as the server application. The file should contain a single line of text:

      Sample\GBR-Sample.TXT

      For reference, the "parameters.txt" file can contain the name of any .txt file containing data that you want to import.

      In this example we have used a relative path. You may need to use an absolute path, depending on your installation and location of the file.

    2. Start the server application. To do this, restart the machine: the service will be launched automatically. If you do not want to restart, open the Control Panel and double-click 'Administrative Tools' and then 'Services'. Find and select 'Standard ERP Server (32-bit)' or 'Standard ERP Server (64-bit)' in the list and choose to start the service. (The name will vary slightly, depending on the precise version of Standard ERP you are using.) When it starts, it will obey the instruction in the "parameters.txt" file and import sample data from the "GBR-Sample.TXT" file.

    3. When the import finishes, for security reasons the service will quit (you may need to monitor the log file (named "hansa.log") to see when the service quits). Empty or rename the "parameters.txt" file and then restart the application as described in (ii) above (if you do not empty or rename the "parameters.txt" file, the sample data will be imported again).

  4. If you are using a macOS or Linux machine, start the server application as follows:

    1. Launch the Terminal application using the Terminal icon in the Panel or Dock (or from the "Utilities" folder in the "Applications" folder).

    2. Change to the "StandardERPServer" directory by typing:

      cd /Applications/StandardERPServer

    3. Type:

      ./StandardERPServer Sample/GBR-Sample.TXT (Linux 32-bit)
      ./StandardERPServer64 Sample/GBR-Sample.TXT (Linux 64-bit) or
      ./StandardERPServer Sample/GBR-Sample.TXT (macOS)

      This instruction will launch the server application and cause it to import demonstration data from the "GBR-Sample.TXT" file. As described in point 4 i above, you can include in this instruction the name and path of any .txt file containing data that you want to import.

    4. When the import finishes, for security reasons the application will quit. You will be informed when this happens in the Terminal window. Restart the application by typing:

      ./StandardERPServer (Linux 32-bit)
      ./StandardERPServer64 (Linux 64-bit) or
      ./StandardERPServer

  5. Locate the client installer that you downloaded in step 1, and install it. In the case of Windows, run the installer application. In the case of macOS and Linux, open the .dmg file or expand the .tgz archive. In all cases, it is recommended that you install the client in a folder or directory named "Standard ERP Client" in your "Program Files" directory or "Applications" folder.

  6. Start the Standard ERP client application by double-clicking the application icon. The first window to appear will ask how you want to use the application:

  7. Click the [Connect to Existing Company] button. The 'Server Address: Inspect' window will appear, listing the available servers in the same subnet as your client computer:

  8. Double-click the server in the list that you want to log in to, or click once and then click the [Connect] button.

    If the list of servers is empty, enter the IP address of the server in the Hostname or IP field and "1200" as the Port, and then click the [Connect] button. If the server and client are on the same machine, enter "localhost" as the Hostname or IP.

  9. The 'Login' window appears: log in as SJ with password Sample99 (no password if you are using a version prior to 8.5):

  10. After logging in, the Navigation Centre will appear, as illustrated below on the Work Area page but with one difference. The window title of the Navigation Centre will contain the phrase "(SAMPLE)" as a suffix. This is to remind you that you have logged in to a sample database that you should use for testing only and not for real data.

  11. As well as the Navigation Centre, a 'Task Manager' window will also open. This window opens because you have been logged in to the sample database as a user who has some scheduled tasks that are still outstanding. If you need to close the 'Task Manager' window, click the close box. Otherwise, please refer to the Task Manager page for more details.
---

Go back to: