Running the WGRUS platform

ActiveMQ

First you must get ActiveMQ from http://activemq.apache.org/

Then you need to start ActiveMQ (64 bit system):

  • Go to the folder: apache-activemq-5.9.0\win64\bin
  • Run activemq.bat
  • Wait for
    • jvm 1    |  INFO | ActiveMQ WebConsole available at http://localhost:8161/
    • jvm 1    |  INFO | Initializing Spring FrameworkServlet 'dispatcher'

ActiveMQ is now up and running (you can check by opening the WebConsole url).

I recommend that you install hawtio (a Google Chrome plugin). This will simplify your ActiveMQ administration.

 

Download source code

  1. Press "SOURCE CODE"
  2. Press "Download" (lowercase button)
  3. Unpack the zip file on your system.

 

Database setup (first time)

The folder "DatabaseDefinitions" contains database create scripts for the five databases in the solution.

  • WGRUS-accounting.sql
  • WGRUS-gadget.sql
  • WGRUS-phone.sql
  • WGRUS-web.sql
  • WGRUS-widget.sql

Open each of the files in Microsoft SQL Management Studio. Check the file path for the databases and change them is necessary.

Run each of the files.

 

WGRUS systems (First time)

Call center & WebShop (first time)

Call center

  1. Open the “Customer Front” solution (in the "Customer Front" folder)
  2. Open the CallCenter project
  3. Open the Model folder.
  4. Open the WGRUSModel
  5. Right click in the designer window and select "Update Model form Database"
  6. Adjust the database connection
  7. The database should now be in place.
  8. Build the “Customer Front” solution

WebShop

  1. Open the “Customer Front” solution (in the "Customer Front" folder)
  2. Open the WebShop project
  3. Open the Model folder.
  4. Open the WGRUSModel
  5. Right click in the designer window and select "Update Model form Database"
  6. Adjust the database connection
  7. The database should now be in place.
  8. Build the “Customer Front” solution

 

Accounting (First time)

  1. Open the “Accounting” solution (in the "Accounting" folder)
  2. Open the BusinessLogic project
  3. Open the WGRUSModel
  4. Right click in the designer window and select "Update Model form Database"
  5. Adjust the database connection
  6. Open App.config and copy the database connection settings
  7. Open the AccountingGui project.
  8. Open App.config
  9. Update the database connection settings in App.config
  10. The database should now be in place.
  11. Build the  solution

 

 

Gadget & Widget (First time)

Gadget

  1. Open the “Suppliers” solution (in the "Suppliers" folder)
  2. Open the GadgetApplication project
  3. Open the Properties folder.
  4. Open the Settings
  5. Update connectionstring
  6. The database should now be in place.
  7. Build the “Suppliers” solution

Widget

  1. Open the “Suppliers” solution (in the "Suppliers" folder)
  2. Open the WidgetApplication project
  3. Open the Properties folder.
  4. Open the Settings
  5. Update connectionstring
  6. The database should now be in place.
  7. Build the “Suppliers” solution

 

Running WGRUS

In the WGRUS-Platform folder. Run the run-wgrus.cmd file (doubleclick) 

 

Last edited Apr 3, 2014 at 5:16 PM by bromose, version 8