diff --git a/README.md b/README.md index cadbf9b..abc10e8 100755 --- a/README.md +++ b/README.md @@ -79,9 +79,18 @@ ``` ### Test localhost app on mobile device - To run the localhost app on your mobile you need to be connected with same wifi network, once you are connected you can run following command: + To run the localhost app on your mobile you need to be connected with same wifi network and you need to check your inet address. + + To check you inet address open your terminal and run " $ ifconfig " and check for inet address. + + Example: inet addr:192.168.1.22 + + inet addr:192.168.1.10 + + + Once you are connected you can run following command: ``` - $ HOST=0.0.0.0 npm start + $ HOST=:Port Number npm start ``` @@ -93,12 +102,7 @@ Example: config = { baseUrl: 'http://:9000' }; - To check you inet address open your terminal and run ifconfig and check for inet address. - - Example: inet addr:192.168.1.22 - inet addr:192.168.1.10 - To open this react app on mobile : Open your browser and type :Port number on which you are running the react app.