Skip to content

Commit bf3bf18

Browse files
committed
Update README
1 parent dded095 commit bf3bf18

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ cp mobile/.env.example mobile/.env
123123
In the `root` directory, run:
124124

125125
```bash
126-
npm install
126+
yarn install
127127
```
128128

129129
### 3. Start development servers
@@ -132,7 +132,7 @@ To start `server`, `client`, and `mobile`, run:
132132

133133
```bash
134134
# In the root directory (mern):
135-
npm start
135+
yarn start
136136
# Server API is running at http://localhost:SERVER_PORT (http://localhost:8861 by default)
137137
# Web client is running at http://localhost:PORT (http://localhost:3000 by default)
138138
# Mobile - Expo DevTools is running at http://localhost:19002
@@ -143,20 +143,20 @@ npm start
143143
- **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.**
144144
- **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.**
145145

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_):
147147

148148
```bash
149149
# 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
151151
# or
152-
npm run server:mobile # start server and mobile dev process
152+
yarn run server:mobile # start server and mobile dev process
153153
```
154154

155155
Or to start `server` and `client` only, run:
156156

157157
```bash
158158
# In the root directory (mern):
159-
npm run server:client
159+
yarn run server:client
160160
# Server API is running at http://localhost:SERVER_PORT (http://localhost:8861 by default)
161161
# Web client is running at http://localhost:PORT (http://localhost:3000 by default)
162162
```
@@ -165,7 +165,7 @@ Or to start `server` and `mobile` only, run:
165165

166166
```bash
167167
# In the root directory (mern):
168-
npm run server:mobile
168+
yarn run server:mobile
169169
# Server API is running at http://localhost:SERVER_PORT (http://localhost:8861 by default)
170170
```
171171

0 commit comments

Comments
 (0)