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
@@ -132,7 +132,7 @@ To start `server`, `client`, and `mobile`, run:
132
132
133
133
```bash
134
134
# In the root directory (mern):
135
-
npm start
135
+
yarn start
136
136
# Server API is running at http://localhost:SERVER_PORT (http://localhost:8861 by default)
137
137
# Web client is running at http://localhost:PORT (http://localhost:3000 by default)
138
138
# Mobile - Expo DevTools is running at http://localhost:19002
@@ -143,20 +143,20 @@ npm start
143
143
-**For the sake of simplicity, we use free service [ngrok](https://ngrok.com/) to create a public API URL for mobile development. The downside of this approach is that the public URL is only available for 8 hours, so we need to restart the npm process every 8 hours.**
144
144
-**After 8 hours, the `mobile` process will be terminated, and a warning message will be displayed in your terminal to remind you to restart npm process.**
145
145
146
-
To restart npm process (_If you don't start the mobile development process, ignore this step_):
146
+
To restart yarn process (_If you don't start the mobile development process, ignore this step_):
147
147
148
148
```bash
149
149
# In your current terminal, press Ctrl + C to exit. Then run
150
-
npm start # start server, client and mobile dev process
150
+
yarn start # start server, client and mobile dev process
151
151
# or
152
-
npm run server:mobile # start server and mobile dev process
152
+
yarn run server:mobile # start server and mobile dev process
153
153
```
154
154
155
155
Or to start `server` and `client` only, run:
156
156
157
157
```bash
158
158
# In the root directory (mern):
159
-
npm run server:client
159
+
yarn run server:client
160
160
# Server API is running at http://localhost:SERVER_PORT (http://localhost:8861 by default)
161
161
# Web client is running at http://localhost:PORT (http://localhost:3000 by default)
162
162
```
@@ -165,7 +165,7 @@ Or to start `server` and `mobile` only, run:
165
165
166
166
```bash
167
167
# In the root directory (mern):
168
-
npm run server:mobile
168
+
yarn run server:mobile
169
169
# Server API is running at http://localhost:SERVER_PORT (http://localhost:8861 by default)
0 commit comments