-
Using the terminal, create the scaffolding for a new React application with the
create-react-app .
generator. You must make your app in the root folder of the assignment repo (not inside an additional "app" folder):# create a react app in _this_ repo create-react-app . # note the period!
-
I recommend you then "clean up" the
src/
repository, removing theApp.css
andlogo.svg
files and all the content ofApp.js
. You can then begin implementing your project fresh with a new<App>
component. -
Update the README file to explain what the project is about. You will also track how you both contributed to this stage here.
-
Create a stage-2-yourname folder in the assignment repo, and copy in your code so you can have that code for reference!
-
Commit and push your changes to GitHub.
-
Let your partner know it's ready!
-
Your partner should join the repo by click on the assignment link and then joining the team created earlier.
-
Your partner should then
clone
the repository so they have a copy on their own machine (andgit pull
if needed). -
Your partner should similar create a folder in the repo called
stage-2-theirname
that contains their stage-2 code, again to be used as reference. -
Your partner should
push
this code back to GitHub, which you shouldpull
down.