Code Monkey home page Code Monkey logo

brucechen7.github.io's Introduction

Repo for my blog website.

1. Theme

Originally from Long Haul, and has changed a lot since then.

2. Use this theme/template

  1. Create your own repo on github

    Repo name must be: <your_github_id>.github.io.

  2. Clone this repo, remove my info

    $ git clone https://github.com/arthurchiao/arthurchiao.github.io.git
    $ cp -rf arthurchiao.github.io.git <your_github_id>.github.io
    
    $ cd <your_github_id>.github.io
    
    # remove my posts
    $ rm -rf .git/ _posts/* _drafts/*
    
    # modify personal information in the matched files
    $ grep -i arthurchiao *

    Remove the google analytics code in _config.yml, otherwise, your website's statistics will go to my mine:

    $ vim _config.yml # delete this line: google_analytics: "UA-89960542-1"
                      # or create your own code
  3. Add your own posts

    $ touch _posts/2019-11-09-your-first-post.md
    

    add following content to the beginning of the post:

    ---
    layout    : post
    title     : "Title of Your First Post"
    date      : 2019-11-09
    lastupdate: 2019-11-09
    categories: tag1 tag2 tag3
    ---
    

    after that, add the content of your post in markdown format.

  4. Local development

    $ cd <your_github_id>.github.io
    $ bundle exec jekyll server --drafts --incremental

    Visit localhost:4000 with your browser.

  5. Push to github

    $ git init && git add .
    $ git config user.name "YOUR_NAME"
    $ git config user.mail "YOUR_EMAIL"
    $ git commit -m "initial commit"
    
    $ git remote add origin https://github.com/<your_github_id>/<your_github_id>.github.io
    $ git push origin master

    Visit https://<your_github_id>.github.io.

brucechen7.github.io's People

Watchers

 avatar  avatar  avatar

brucechen7.github.io's Issues

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.