This instruction explains how to work with React tasks on Github
Fork
the repositoryClone
the forked repo- Run
npm install
to install the dependencies - Create a branch for you solution (e.g.
git checkout -b develop
)
- Run
npm start
to run a development server athttp://localhost:3000
(If you need to stop the server pressctrl + c
in the terminal window)You should open a new command line window for all the next commands
- Write the code inside the
src/
folder following the style guides: - Open one more terminal and run tests with
npm test
to ensure your solutions is correct - Run
npm run lint
to check the code style and fix all the errors add
,commit
andpush
all the recent changes- Run
npm run deploy
to publish your solution to Github pages
- Create a
Pull Request
(PR
) fromthe-forked-repo/develop
tothe-original-repo/master
- Put your Github username into the
DEMO LINK
(above the task description) and add it to thePR
description
In order to update the PR repeat the steps 2-5 from the
Develop the solution
section