Skip to content

Deployment in a Development Environment

Dr. M H B Ariyaratne edited this page Apr 26, 2020 · 19 revisions

For the development and testing purposes, you can easily clone the project and run with the help of NetBeans.

Ubuntu

VNC Server

If you are running Ubuntu in a Virtual Computer, you need to install VNC Server.

Netbeans IDE

Install Netbeans

Install MariaDB and configure (Recommended)

Install MySQL and configure

Netbeans

Download the Netbeans with JDK bundle and install following instructions. Install all JavaEE plugins.

GlassFish

Download glassfish 4.1.2 server and unzip to a folder.

Clone Project

Clone the project with Netbeans.

Configure Netbeans

Open Netbeans and configure the glassfish server and MySQL.

Locate the persistance.xml and configure database.

Run the Project

Run the project and the web application will start in a browser window.

MS-Windows

Download a database like MySQL or MariaDB and install it following instructions. Install Netbeans for JavaEE. Clone Project. Configure a database. Run the project and web application will appear in a browser.

Clone this wiki locally