Practice your skills in Git while developing a typical website.
Each student works on a different file, for a different part of the website, and the most senior can work as Team Leader (for integration and deployment), unless the teacher prefers to be the team leader of the whole class. The Html-Template-Engine library will take care of putting all the pieces together.
The Team Leader should fork this repository on github.com and invite other collaborators to the repo. Give access to the other team members on the newly forked GitHub repository, and make sure they are cloning from this new repository, not the original!
We are going to be building this design, and this is how you can split it with the students.
Each contributor will have to clone the new forked repository and develop a part of the website that is coordinated with the group; each project is divided in pieces inside the website/templates/
directory. Once everyone has their editor open, run the project in the terminal with this command:
1$ npx http-server --yes -c-1
To start, each member should put their name in the file they have been assigned, push
back to the repository, and pull
to see the others changes. Maintaining clear communication about the files being used will make the project run smooth 🙂
Once everyone understands how to modify their part of the project and push
, use the search feature and examples within https://getbootstrap.com/ to quickly build using bootstrap components, then modify accordingly.
If you are a student:
Wait for your instructor to advise you how to start the project!
If you are an instructor or team leader:
This project comes with the necessary files to start working, which can be found in the following GitHub repository:
1https://github.com/breatheco-de/exercise-collaborative-html-website
b) Invite your students or team members as collaborators to your forked repository (see the gif manual in it).
c) Have your students or team members clone your forked repository (not the original above).
Both students and instructors:
To load and watch the website live, run the following command:
1$ npx http-server --yes -c-1
Use Vercel, Netlify or GitHub pages to deploy the website and get a URL where anyone can see the results (for example: https://mysuperteam.zeit.sh
).
Each student must deliver their team's leader repo as a solution.
The Html-Template-Engine library is being used as template engine for building the landing page.
This and many other projects are built by students as part of the 4Geeks Academy Coding Bootcamp by Alejandro Sanchez and many other contributors. Find out more about our Full Stack Developer Course, and Data Science Bootcamp.