-
Notifications
You must be signed in to change notification settings - Fork 2
Running WPI Suite TNG Locally
This page contains instructions for running WPI Suite on your computer. If you have not already setup your development environment, see Setting Up Your Development Environment.
You can run both the WPISuite core and the client on your computer. The core runs on the Tomcat server you installed previously.
Before running WPISuite, you need to make sure Eclipse is not set to build before launching, as this will cause issues if you start the core, then run Janeway which triggers a build and overwrites the jars the core has already loaded. To make the change:
- In Eclipse, open the Preferences window (Mac: Eclipe --> Preferenes, Other: Edit --> Preferences)
- Expand the Run/Debug section and click Launching
- Under General Options uncheck the option to "Build (if required) before launching"
- Click Apply_ and then OK.
- Right-click on the WPISuite project, select Run As, and click Run on Server.
- Select the "Tomcat v7.0 Server at localhost" server you created earlier (or define a new server if necessary).
- Check "always use this server when running this project".
- Click Finish.
- After the server starts up, you should see a new tab displaying the "WPI Suite Admin Console". This means the core is running!
- Login to the core using the default admin account (username: admin; password: password)
- Create a CoreUser by entering a username, full name, password, and a unique idNum (something greater than 1). Click "Create CoreUser".
- Create a CoreProject by entering a unique idNum (something greater than 1) and a name. Click "Create CoreProject".
- Right-click on the Janeway project, click Run As and select Java Application.
- From the popup menu, select the edu.wpi.cs.wpisuitetng.Janeway class and click OK.
- You should see a login window appear. Enter the username and password for the core user you created.
- Enter the name of the project you created.
- The server URL is http://localhost:8080/WPISuite/API if you are running locally with the default configuration.
- Click Login.
- You should now see the defects tab in Janeway (or some other module tab).
To stop the core, click the red stop square in the console tab of Eclipse. Whenever you make changes to the projects, you should stop the core, rebuild the workspace, and then restart the core.