@@ -33,34 +33,29 @@ Git commit signing is required for commits. [How to setup git commit signing](ht
33
33
34
34
** Software Requirements**
35
35
36
- - Node 20 or higher must be installed .
36
+ - Node 20 must be used .
37
37
- @angular/cli should be installed.
38
+ - Docker should be installed.
38
39
39
40
### Installation
40
41
41
- - [ Clone the mem-mmti-public repository] ( https://help.github.com/en/articles/cloning-a-repository )
42
+ - [ Clone the nr-bcmi repository] ( https://help.github.com/en/articles/cloning-a-repository )
42
43
43
- ** To connect to the openshift dev database:**
44
- 1 . Login to openshift and copy the login token (Click your name in the top right)
45
- 2 . In a terminal paste and run the login command.
46
- 3 . Ensure no other postgres instance is running or choose another port (brew services stop postgresql)
47
- 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 ```
44
+ ** To run/develop using docker:**
45
+ 1 . Run ``` docker compose up ```
48
46
49
-
50
- ** To connect to the frontend:**
47
+ ** To run the frontend locally:**
51
48
1 . Install angular/cli ``` npm i -g @angular/cli ```
52
49
1 . ``` cd bcmi ```
53
50
1 . ``` npm install ```
54
51
1 . ``` npm run start ```
55
52
56
53
57
- ** To connect to Strappi and graphql :**
54
+ ** To run Strapi locally :**
58
55
1 . create an .env file in the cms folder using the .env.template, find secrets in openshift
59
- 1 . ``` npm install ```
60
56
1 . ``` cd cms ```
61
57
1 . ``` npm install ```
62
58
1 . ``` npm run develop ```
63
- 1 . go to the pods openshift secrets to find the strappi login details
64
59
1 . Login to strapi admin at http://localhost:1337/admin
65
60
1 . See graphql queries at http://localhost:1337/graphql (ensure the strappi content has the 'find' role enabled)
66
61
0 commit comments