Code Monkey home page Code Monkey logo

ceed's Introduction

CEED Workshop

This is code and text behind my (Owen Jones's) CEED Workshop site. The material is intended for a workshop called "The Era Of Big Data Hits Conservation" held on 15-19th June 2015 at the ARC Centre for Excellence in Environmental Decisions (CEED). The workshop covers lots of ground, and this is just a small part of it concerning the use of phylogenetic information in conservation.

The site is based on Hadley Wickham's site for his Advanced R Programming book.

The site is built using Jekyll, with a custom plugin to render .rmd files with knitr and pandoc. To create the site, you need:

  • jekyll and s3_websiter gems: gem install jekyll s3_website
  • pandoc
  • knitr: install.packages("knitr")
  • bookdown: 'install_github("hadley/bookdown")'
  • Ruby - you probably already have this installed.

.gitignore

Add the following to your .gitignore file.

Temp.html

Temp.Rmd

*.Rproj

_site

##Copying and deploying this site (e.g. to create a similar one)

I assume you are using a Mac with OSX.

  • Create a new repository, XXX, with a .gitignore file
  • Create a new branch of XXX called gh-pages (i.e. have two branches named "master" and "gh-pages")
  • Use the Github app to clone XXX to your computer.
  • Place the contents of ceed in the XXX directory master branch.
  • Open Terminal, navigate to your XXX directory, run 'jekyll serve' and watch as directory "_site" is created. It may take a few moments.
  • Stop the jekyll server (ctrl-c)
  • Move "_site" to the desktop.
  • In GitGub app, switch to the gh-pages branch.
  • Move the contents of "_site" to the XXX directory of the gh-pages branch.
  • Commit and synchronise to GitGub.
  • Your site should be visible at http://username.github.io/XXX

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.