Skip to content

Commit f40d14a

Browse files
author
b.chirani
committedApr 10, 2024
updated the markdown
1 parent 6b0feb7 commit f40d14a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed
 

‎README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ Snappy is chat application build with the power of MERN Stack. You can find the
1313
- [Mongodb](https://www.mongodb.com/docs/manual/administration/install-community/)
1414

1515
Both should be installed and make sure mongodb is running.
16+
### Installation
1617

18+
#### First Method
1719
```shell
1820
git clone https://github.com/koolkishan/chat-app-react-nodejs
1921
cd chat-app-react-nodejs
@@ -50,5 +52,17 @@ Open another terminal in folder, Also make sure mongodb is running in background
5052
cd server
5153
yarn start
5254
```
53-
5455
Done! Now open localhost:3000 in your browser.
56+
57+
#### Second Method
58+
- This method requires docker and docker-compose to be installed in your system.
59+
- Make sure you are in the root of your project and run the following command.
60+
61+
```shell
62+
docker compose build --no-cache
63+
```
64+
after the build is complete run the containers using the following command
65+
```shell
66+
docker compose up
67+
```
68+
now open localhost:3000 in your browser.

0 commit comments

Comments
 (0)