Code Monkey home page Code Monkey logo

minisitetemplate's Introduction

MiniSiteTemplate

(*) Testing

I am learning how do use git branch and created a branch named like_andrew (where I attach features like here )

I also added a branch called reset_branch

Location

This is a template for creating a mini Project website

Content

Content of the Exe Repo

Steps to setup and launch new mini-site

  1. on Github: Create new repo whateverthename

  2. on Terminal (in the parent Local dir): Clone remote report git clone "https://github.com/lulliter/whateverthename.git"

  3. on Local: Copy the content of example

  4. on Github: Scroll down to the Repo / Setting/ Github Pages section click the drop down menu under “Source” and click “master branch”

  5. on Local: make some adaptation / add content

  6. (on Terminal/RStudio: Build the site locally (or see ./build_site.R))

    • actually, now the shell script ./_render-deploy.sh invokes and run ./build_site.R
  7. on Terminal/RStudio: git add/commit/push (or see ./_render-deploy.sh)

Important

R Markdown websites can be hosted using GitHub Pages in 2 ways

  1. [IM USING THIS!] With two additions to the standard site configuration: + Add a file named .nojekyll to your site source code directory (this tells GitHub Pages to not process your site with the Jekyll engine). + Change your output directory to “.” within _site.yml. For example: output_dir: "." ( using this configuration your source code, data, and everything else in your repository is all publicly available alongside your generated website content. ).

  2. Alternatively, you can configure GitHub Pages ⧉ to publish from a /docs subdirectory of your repository. If you work in this configuration you should change your output directory to “docs” within _site.yml. For example:output_dir: "docs"

Acknowledgements

This is built using the default Jekyll configuration found in Github check

minisitetemplate's People

Contributors

lulliter 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.