Daily Bruin's data journalism and newsroom tech blog.
- clone repository:
git clone https://github.com/dailybruin/the-stack.git
cd
into the newly created directory- run
./setup.sh
- run
jekyll serve
- If you get dependency errors, try
gem install
ing them. - If you still get dependency errors, look for a
Gemfile.lock
file in the top level of the local repo, delete it, and re-runjekyll serve
.
Follow these instructions. When given the choice, install Rouge instead of Pygments for syntax highlighting. Here are some other considerations when using Jekyll on Windows.
Alternatively, use a VM:
- Download VirtualBox
- Grab a copy of the latest version of Ubuntu Server.
- Install the Ubuntu Server ISO in a VirtualBox VM.
- Configure VirtualBox port forwarding from VM port 4000 to host port 4000.
- Follow the instructions for Mac installation above.
TL;DR
- Develop on your own feature branch. Only the data editor should commit to master.
- Follow the coding practices outlined in the docs and the conventions established in existing posts.
Pull requests which do not conform to the above will not be accepted. If you have any questions on how something should be done, please ask the data editor.