Git Product home page Git Product logo

demodeploy's Introduction

DemoDeploy

Fork The Repo

Clone The Repo

  • In your terminal, navigate to your code folder and cdgit into it. DO NOT CD INTO YOUR WDI FOLDER!
  • Once inside your code folder (NOT WDI), type git clone and then paste the SSH code you copied from github. Hit Enter.
  • In your terminal, type ls and make sure the DemoDeploy folder is listed, then cd into it.
  • Once inside your DemoDeploy folder, you should see that you are on the master branch and all the files from the cloned repo are inside the folder due to the magic of the internet.
  • Celebrate!

Tell GitHub Your gitHub Pages Source

GitHub lets you choose which branch hosts your gitHub pages. We're going to set our source to the master branch.

  • Go back to your github account in the Browser and enter your DemoDeploy repo.
  • Inside the DemoDeploy repo, click Settings from the top menu tabs on the right.
  • You are now automatically located in the Options part of Settings (you can see the side menu to the left). Scroll down the page until you come the section titled, gitHub Pages.
  • From the Source dropdown, choose the master branch option and hit save.
  • Celebrate!

Let's Update our Pages

  • Go back to your terminal. Make sure your file path is still inside your code/DemoDeploy folder.
  • Type subl . to open your files (or whatever the command is for your text editor).
  • Update your index.html by putting your name in the title tag. Save, add, commit, and push to origin master.
  • Return to the browser window -- the gitHub settings page should still be there. Refresh the page.
  • Scroll back to the the gitHub Pages section and look for a green bar at the top of the section that says, "Your site is published at:....". Click the link, or copy to a new window.
  • If you did everything correct, your page will now be visible, with the title of your name.
  • Celebrate!

Don’t worry if it takes a few minutes for the page to show up because there may be a delay up to ten minutes the first time you push the files to GitHub.

Special Thanks

This project would not have been possible without the hard work and dedication of Trevor Preston who created the very first Demo Deploy. Purple-Rain-4eva.

Documentation

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.