Open terminal and run next command:
sudo docker-compose up --build
sudo chmod -R 0777 *
sudo docker-compose up
Open http://localhost:3000 to view it in your browser.
If you want run project without docker you must perform this command in your terminal:
sudo apt install nodejs
sudo npm install npm@latest -g
sudo apt install npm
sudo npm -g install create-react-app
nvm ls-remote
nvm install v18.8.0
npm view react version
nvm alias default node .
npm install --save react react-dom react-scripts
npm start
.
In the project used next version modules
Version:
nodejs -v - v10.19.0
node -v - v18.8.0
npm -v - 8.18.0
If you already install nodejs, node and react, but not this version you must perform first of all this command under number 2 and then 1:
sudo apt-get update
sudo apt --auto-remove purge npm
sudo apt --auto-remove purge nodejs
sudo apt-get purge node
sudo apt-get purge --auto-remove nodejs
npm uninstall -g create-react-app
sudo npm uninstall -g npm
npm uninstall -g create-react-app
Run the app in the development mode.
Open http://localhost:3000 to view it in your browser.