Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Code cleanup customization #13

Merged
merged 6 commits into from
Nov 17, 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
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,34 +33,29 @@ Git commit signing is required for commits. [How to setup git commit signing](ht

**Software Requirements**

- Node 20 or higher must be installed.
- Node 20 must be used.
- @angular/cli should be installed.
- Docker should be installed.

### Installation

- [Clone the mem-mmti-public repository](https://help.github.com/en/articles/cloning-a-repository)
- [Clone the nr-bcmi repository](https://help.github.com/en/articles/cloning-a-repository)

**To connect to the openshift dev database:**
1. Login to openshift and copy the login token (Click your name in the top right)
2. In a terminal paste and run the login command.
3. Ensure no other postgres instance is running or choose another port (brew services stop postgresql)
4. Run the command: (Note: If the pod restarts, the pod name may change.) ```oc port-forward cms-postgres-1-2cn2c 5432:5432 -n f00029-dev```
**To run/develop using docker:**
1. Run ```docker compose up ```


**To connect to the frontend:**
**To run the frontend locally:**
1. Install angular/cli ```npm i -g @angular/cli```
1. ``` cd bcmi ```
1. ``` npm install ```
1. ``` npm run start ```


**To connect to Strappi and graphql:**
**To run Strapi locally:**
1. create an .env file in the cms folder using the .env.template, find secrets in openshift
1. ``` npm install ```
1. ``` cd cms ```
1. ``` npm install ```
1. ``` npm run develop ```
1. go to the pods openshift secrets to find the strappi login details
1. Login to strapi admin at http://localhost:1337/admin
1. See graphql queries at http://localhost:1337/graphql (ensure the strappi content has the 'find' role enabled)

Expand Down
6 changes: 3 additions & 3 deletions charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ bitnamipg:
storageClass: netapp-block-standard
accessModes:
- ReadWriteOnce
size: 100Mi
size: 200Mi
containerSecurityContext:
enabled: false
podSecurityContext:
Expand All @@ -169,6 +169,6 @@ bitnamipg:
cpu: 50m
memory: 150Mi
limits:
cpu: 150m
memory: 250Mi
cpu: 200m
memory: 300Mi

Loading
Loading