Skip to content

jakobhaervig/dansis

Repository files navigation

About this repository

This repo hosts the website of DANSIS live at https://dansis.dk. It's built around the Jekyll framework to be fast, responsive and flexible.

Notes to self for working locally with the website

Step 1: Install Windows for Linux (WSL)

  • First, follow the official guide to install WSL.
  • Go to Microsoft Store and install Ubuntu.
  • Open the Ubuntu App and go through the installation process, e.g. choose WSL Ubuntu username and password.

Step 2: Install Visual Studio Code (VS Code)

Step 3: Install a git mangemenent software

Step 4: Setting up and installing prerequisites

Step 5:

Copy/paste the following commands one-by-one into the WSL terminal to install prerequisite:

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

Change default home for gems:

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

Reload shell:

exec bash

Install Jekyll and bundler:

gem install jekyll bundler

Install git lfs support:

sudo apt install git-lfs
git lfs install

Install packages:

bundle install

Serve website locally:

bundle exec jekyll serve

, which will serve the website locally. Navigate to http://127.0.0.1:4000/ to view the website.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages