You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
# this would start frame server on http://localhost:3000
95
-
```
95
+
# this would start frame server on http://localhost:3000
96
+
```
96
97
97
-
open one more terminal window in the same folder and run:
98
+
open one more terminal window in the same folder and run:
98
99
99
-
```sh
100
-
# set environment variables:
100
+
```sh
101
+
# set environment variables:
101
102
102
-
export APPMODE="development"
103
-
export APPENV="local-multi"
103
+
export APPMODE="development"
104
+
export APPENV="local-multi"
104
105
105
-
npm run local-client
106
+
npm run local-client
106
107
107
-
# this host frame client code on http://localhost:8080
108
-
```
108
+
# this host frame client code on http://localhost:8080
109
+
```
109
110
110
111
2. Run **Navbar** micro-app:
111
112
@@ -135,23 +136,27 @@ Some config files are using domain `local.topcoder-dev.com`. You can change it t
135
136
nvm use # or make sure to use Node 10
136
137
npm i # to install dependencies
137
138
139
+
# set environment variables:
140
+
141
+
export STRIPE_PUBLIC_KEY=""
142
+
138
143
npm run dev
139
144
140
145
# this host TaaS App as http://localhost:8501/taas-app/topcoder-micro-frontends-teams.js
141
146
```
142
147
143
148
4. Now we have to update the `micro-frontends-frame` app to show our local version of TaaS App, instead of remote one. Update file `micro-frontends-frame/config/micro-frontends-config-local.json`:
- Now open in the browser http://localhost:8080/taas/myteams.
154
159
- If you are not logged-in yet, you should be redirected to the login page.
155
160
- If you cannot see the application and redirect doesn't happen, make sure that file "http://local.topcoder-dev.com:8501/taas-app/topcoder-micro-frontends-teams.js" is loaded successfully in the Network tab.
156
161
157
-
Congratulations, you successfully run the project. If you had some issue, please, try to go through README of https://github.com/topcoder-platform/micro-frontends-frame and https://github.com/topcoder-platform/micro-frontends-navbar-app.
162
+
Congratulations, you successfully run the project. If you had some issue, please, try to go through README of https://github.com/topcoder-platform/micro-frontends-frame and https://github.com/topcoder-platform/micro-frontends-navbar-app.
0 commit comments