Coder Social home page Coder Social logo

introgithub's Introduction

Contemporary Software Development

Week 3 Practical: Introduction to GitHub

This repository is your playground for learning how to interact and manage remote repositories on GitHub and more importantly, collaborate with other developers in a remote repository.

Tasks for completion

1. Initial setup

After the forking the repository, the repository manager must enable GitHub pages and invite the other members of the team as collaborators.

  1. Go to the repository settings and enable GitHub Pages:
    1. Scroll down to the "GitHub pages" section.
    2. From the "Source" drop down, select main branch and click save.
    3. Note the url of the repository.
  2. Invite the other teams members to collaborate on the project:
    1. Go to the repository settings and select manage access.
    2. Click on the invite a collaborator button and invite your team members.
    3. Once you have invited some team members into the repository they need to accept the invitations. To do so they should go to their notifications page https://github.com/notifications

2. Collaborate

Now that the repository has some team members, you will each create a static web page for the repository GitHub pages:

  1. Each participant should create a new branch called <CollabFeature> where Collab is you name.
  2. Within your branch navigate to the _posts folder.
  3. Open the file 0000-01-01-intro.md and copy the text.
  4. Create a new file called 0000-01-0x-YourName.md.
  5. Paste the text that you copied from the 0000-01-01-intro.md file into your new file.
  6. Edit the text and include a line or two stating your favourite programming language and why you like the language.
  7. Commit the new file with a meaningful commit message and description.
  8. After creating a new file, issue a pull request. The request should select the main branch as the base: and your branch as the compare.

3. Review and discuss

Now that you have some pull requests you should review the suggested changes.

Group members should review a pull request, suggest the order of each of the static files. You can change the order of the file by updating each file name. For example to make the file 0000-01-0x-YourName.md appear as the second file in the GitHub page change the name and replace the 'x' with '2' eg 0000-01-02-YourName.md.


4. Amend your files and publish

  1. Make the changes necessary to your files so that your page is displaed in the agreed order.
  2. Commit and merge your changes with the main branch.
  3. Check that each the repository site displays correctly. Go to the repository settings and scroll down to the GitHub Pages section. The URL for the repository site will be displayed there. If the pages do not display correctly go to the issues section of the repository, create an issue and assign it to the appropriate team member.


### Credits:

This repository is based on the GitHub learning lab introduction to GitHub which is available here https://lab.github.com/githubtraining/introduction-to-github

The repository is using the โœจ open source project reveal.js. If you are interested in how this works, head to the original project repo to learn more about the cool people behind this project.

introgithub's People

Contributors

docmilo avatar new-user-tech avatar

Stargazers

Jim Finn avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.