git clone [email protected]:alexej3ajtsev/socket.io-reactjs-chat.git #YOUR_FOLDER#
cd #YOUR_FOLDER#
cd client
npm install
cd ../server
npm install
npm start
cd ../client
npm run dev
To be able to chat with devices on your local network, you must change the value of localhost
constantsSOCKET_URL
and IMAGES_FOLDER_URL
in the filecommon/consts.js
on the ip address of your computer, then run cd client
, npm run build
and npm start
You also need to globally install packages: webpack
, webpack-cli
and serve