Skip to content

Latest commit

 

History

History
executable file
·
104 lines (82 loc) · 2.79 KB

README.md

File metadata and controls

executable file
·
104 lines (82 loc) · 2.79 KB

MLSP Group website

Hosting on a local machine

Using Ruby

Install Ruby and other prerequisites:

sudo apt-get install ruby-full build-essential zlib1g-dev

echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

gem install jekyll bundler

Local build at the root of this repo:

bundle exec jekyll serve

Then browse to http://localhost:4000

Using Docker (Linux)

You can use this docker file to easily host this site on your local machine.

docker run -it --rm --network=host -v $(pwd):/site kashu98/jekyll-serve

Then you can visit the site at http://localhost:4000

Usage

Add publications

  1. modify data/publist.yml
  2. add picture to images/pubpic/

Follow:

- title: "Constructing and optimizing 3D atlases from 2D data with application to the developing mouse brain"
  image: Young2021.png
  description: 
  authors: 
  link:
    url: https://elifesciences.org/articles/61408
    display:  Young et al. eLife (2021)
  type: 1
  news2: 

The corresponding type is:

  • 1: Conference Papers
  • 2: Journal Papers
  • 3: Patents

Add news

  1. modify data/news.yml
  2. add picture to images/newspic/

Follow:

- date: Dec 13th 2018
  headline: "New paper! <a href='http://science.sciencemag.org/content/362/6420/eaat6576.long'> An et al. 2018 </a> published in Science, highlights the role of promoters in autism."

Add team member

  1. modify data/team_members.yml
  2. add markdown file to team/
  3. add picture to images/teampic/

or you can run:

python add_member.py

The corresponding group is:

  • 0: PI
  • 1: Ph.D.
  • 2: Masters students
  • 3: Undergraduate students
  • 4: Visiting scholar
  • 7: Researcher
  • 8: Alumni

Follow:

- name: Stephan Sanders
  photo: stephansanders.jpg
  info: Associate Professor
  url: stephansanders
  group: 0

Add sponser

  1. add picture to images/logopic/

Open positions

  • edit _pages/recruitment.md

Acknowledgement

Our website is based on the open source templates designed and shared by the labs of D. Allan Drummond and Trevor Bedford and modified by Sanders Lab. We downloaded source codes from their repository and modified our contents based on shared templates. We greatly thank for this beaultiful codebase.

The website is deployed using GitHub Pages and the source code is available on GitHub. Please feel free to reuse this code (making sure to cite the Bedford lab and Drummond lab as the original sources of the lab website template).