Skip to content

VitaliiKalyta96/React-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instruction run project

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:

1

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:

2

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.