Skip to content

Commit c848e48

Browse files
committed
Updated Readme
1 parent c9c9b4d commit c848e48

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,34 @@ Nodejs boilerplate with express,Mongoose,ES8,Jwt to develop rest api
2727
## Getting Started
2828
1. Clone repository
2929
```
30-
git clone https://github.com/vibhasfl/express-mongoose-es8-rest-api.git
31-
cd express-mongoose-es8-rest-api
30+
> git clone https://github.com/vibhasfl/express-mongoose-es8-rest-api.git
31+
> cd express-mongoose-es8-rest-api
3232
```
3333
2. Install yarn
3434
```
35-
npm i -g yarn
35+
> npm i -g yarn
3636
```
3737
3. Install project dependencies
3838
```
39-
yarn
39+
> yarn
4040
```
4141
4. Set enviroment variables
4242
```
43-
cp .env.sample .env
43+
> cp .env.sample .env
4444
```
4545
5. Run application
4646
```
47-
yarn dev OR npm run dev
47+
> yarn dev OR npm run dev
4848
```
4949

50+
## Running with docker
51+
```
52+
> yarn build
53+
> docker-compose build
54+
> docker-compose up
55+
```
56+
Note : Make sure [docker](https://hub.docker.com/) is being installed first
57+
5058

5159

5260

0 commit comments

Comments
 (0)