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.
- 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.
- Download and install VS Code.
- Install your preferred git management software such as GitHub Desktop or GitKraken.
- Open your git management software and clone https://github.com/jakobhaervig/ces.
- Open VS Code and open the DANSIS folder you just cloned.
- Open a Ubuntu terminal.
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.