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 others on the newly forked GitHub repository to other team members, 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 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 templates/ directory (located in website/templates). Once everyone has their editor open, run the project in the terminal with this command:
$ npx http-server --yes -c-1
You will be given an option to open in browser, and have options to view the new site, what it should look like, and a reference to each part of the page. If you receive an error, wait a moment and refresh.
-
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 on 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: https://github.com/breatheco-de/exercise-collaborative-html-website
a) Navigate to and fork the repository in Github.
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:
$ npx http-server --yes -c-1
Use Vercel, Netlify or Github pages to deploy the website to the team URL (for example: https://mysuperteam.zeit.sh
).
Everyone delivers the same repo as 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.