Quick start

  1. Install and start our ActionGUI virtual machine. (See Virtual Machine for more information).
  2. Within the virtual machine, start Netbeans
  3. Within the virtual machine's Netbeans, download our basic CRM sample project (BCRMApp). (See Examples for more information).
  4. Within the virtual machine's Netbeans: 
    1. Select the Projects tab.
    2. Select File | Open Project. Select and open the directory where the BCRMApp project has been downloaded. 
    3. Select the BCRMApp project.
    4. From the menu, select Run | Clean and Build Project (BCRMApp). This action will generate the basic CRM application.
  5. Within the virtual machine, open a terminal and execute the script update-database.sh, which is located within the directory where the BCRMApp project has been downloaded. This script will create and initialize the CRM database in the virtual machine's MySQL server.
  6. Within the virtual machine's Netbeans, 
    1. Double-click on the BCRMApp project
    2. Double-click on Modules
    3. Right-click on the module BCRMApp VM and select Open Project. This action will open the BCRMApp VM subproject.
    4. Right-click on the BCRMApp VM subproject and select Custom | Jetty. This action will deploy in a virtual machine's web server the generated CRM application.
  7. Within the virtual machine, start Firefox and go to localhost:8080. Now, you can test the generated CRM application. The initial CRM database contains the following users: alice (password 111), bob (password 111), and charlie (password 111). alice is manager, and charlie and bob are salesmen.

Create a new project

Within the virtual machine's Netbeans

  1. Click on File | New Project.
  2. Click on Maven | Project from Archetype
  3. Click on Next.
  4. Please, introduce the following information about the ActionGUI's maven archetype
    • Group IDorg.modelinglab.actiongui.maven.archetypes
    • Artificact IDag-archetype
    • Version: 2.5
    • Repositoryhttp://actiongui.org/nexus/content/repositories/releases/
  5. Click on Next.
  6. Now, you have to fill the following information about your new ActionGUI project.
    • Project name (also Artifact Id): a name that identifies your project within your organization. (If the project name consists of several words, they are typically separated by dashes).
    • Project location: the folder in your local hard disk where the new project will be created.
    • Group Id: a name that identifies your organization. (The format for identifying Java package is typically used for Froup ids. E.g., we use org.modelinglab as the group id for our sample ActionGUI projects.)
    • Artifact Id: (see Project name)
    • Version: a name that identifies the version of your new project. (Usually, a list of numbers separated by dots. When it ends in -SNAPSHOT means that it is under development.)
  7. Click on Finish. A new ActionGUI project will be created with the provided information.