Code Monkey home page Code Monkey logo

github-website-deploy's Introduction

How to deploy your website on github :

STEP 1: Create Repository

Create Repository

STEP 2: Name it as your project name (preferred)

Create Repository

STEP 3:Make sure it's a public repository

Public

STEP 4: Click Create and this page will show

Created Repo

STEP 6: Go to your file using the Terminal

  • cd fileName // Go inside the project file.
  • echo "# Project-name-sara" >> README.md // To create readme file
  • git init // To initialize the Repository
  • git remote add origin https://github.com/daghustani/Project-name-Sara.git // To connect the local with github
  • git add . // To add you files into github
  • git commit -m "your message" // To take screen of what you have
  • git push -u origin master // Push to the Repository

Push Project

STEP 7: Open your repository in github

repo page

STEP 8: Go to settings.

GITHUB Sitting

STEP 9: Scroll down to GitHub Pages where by default source in "None"

GITHUB pages

STEP 10: Change the source to be "master branch".

GITHUB Page

STEP 11: Scroll down to GitHub Pages and Click the link and now you can see your website.

GITHUB Published

github-website-deploy's People

Contributors

daghustani avatar

Watchers

 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.