Skip to content

Commit

Permalink
Merge branch 'PSMRI:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
AncyRiju authored Feb 6, 2024
2 parents e7dcb2c + a73dfe8 commit 90626d9
Show file tree
Hide file tree
Showing 14 changed files with 22,942 additions and 4,572 deletions.
6 changes: 4 additions & 2 deletions .angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,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 @@ -66,4 +68,4 @@
"styleExt": "css",
"component": {}
}
}
}
9 changes: 3 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ Thumbs.db

#other
debug.log
2.4.2
karmareport.txt
npm-debug.log.2922497857
report.20200401.074014.475604.0.001.json
report.20200401.125746.640356.0.001.json
report.20200401.141947.639364.0.001.json
report.20200401.202338.711224.0.001.json
npm-debug.log*
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
50 changes: 0 additions & 50 deletions Gruntfile.js

This file was deleted.

14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,18 @@ To install the MMU module, please follow these steps:
- Run the command `npm start`.
3. Open your browser and access `http://localhost:4200/#/login` to view the login page of module.

## Configuration
The MMU module can be configured by editing the config.js file. This file contains all of the settings for the module, such as the database connection string, the user authentication mechanism, and the role hierarchy.
### 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.

## Usage

Expand Down
68 changes: 0 additions & 68 deletions main.js

This file was deleted.

Loading

0 comments on commit 90626d9

Please sign in to comment.