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
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
- modify
data/publist.yml
- 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 Papers2
: Journal Papers3
: Patents
- modify
data/news.yml
- 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."
- modify
data/team_members.yml
- add markdown file to
team/
- add picture to
images/teampic/
or you can run:
python add_member.py
The corresponding group is:
0
: PI1
: Ph.D.2
: Masters students3
: Undergraduate students4
: Visiting scholar7
: Researcher8
: Alumni
Follow:
- name: Stephan Sanders
photo: stephansanders.jpg
info: Associate Professor
url: stephansanders
group: 0
- add picture to
images/logopic/
- edit
_pages/recruitment.md
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).