This is a tool for setting up multiple tomcat applications in one click dedicated for Smartup projects.
- It gets new biruni built bundle from specified path (
BIRUNI_PATH
in.env
file). - Creates specified (
PROJECTS
in.env
file) tomcat apps inwebapps/
folder using biruni bundle. - Configures web.xml as specified in each apps.
- Provides each project's dependency libs (.jar files) into
lib/
folder.
Before you begin, ensure you have the following installed on your system:
- Node.js (12.x or higher)
- npm (6.x or higher)
Follow these steps to set up the application on your local machine:
-
Install Dependencies
Navigate to the project directory and clean-install the required npm packages:
npm ci
-
Configure Environment Variables
Duplicate the
sample.env
file and rename it to.env
. Open the.env
file and fill in the necessary data as per your setup:cp sample.env .env
-
Starting the Setting up process
Once the configuration is set, you can start the setting up process by running:
npm start