Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

develop to master #22

Merged
merged 13 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts",
"test": "environments/environment.test.ts"
"test": "environments/environment.test.ts",
"ci": "environments/environment.ci.ts",
"local": "environments/environment.local.ts"
}
}],
"e2e": {
Expand All @@ -65,4 +67,4 @@
"styleExt": "css",
"component": {}
}
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ testem.log
# System Files
.DS_Store
Thumbs.db
src/environments/environment.local.ts
src/environments/environment.ci.ts
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
17.0
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.18
48 changes: 0 additions & 48 deletions Gruntfile.js

This file was deleted.

21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,23 @@ This repository contains the user interface (UI) design for an inventory managem
* Reporting: Provides reports and analytics on inventory performance, sales and trends.
* User Management: Allows administrators to manage user accounts and access permissions.

## Building From Source
Clone the repository to your local machine and install the dependencies using node package manager(npm)
* ng build
* ng test
* ng serve
### Building from source

1. To build deployable war files
```bash
mvn -B package --file pom.xml -P <profile_name>
```

The available profiles include dev, local, test, and ci.
Refer to `src/environments/environment.ci.template` file and ensure that the right environment variables are set for the build.

Packing with `ci` profile calls `build-ci` script in `package.json`.
It creates a `environment.ci.ts` file with all environment variables used in the generated build.

### Prerequisites
* [Inventory-API](https://github.com/PSMRI/Inventory-API) module must be running
* JDK 1.8
* Nodejs
* JDK 17.0
* Nodejs v16
* MySQL

## Installation
Expand Down
66 changes: 0 additions & 66 deletions main.js

This file was deleted.

Loading
Loading