Skip to content

Instantly share code, notes, and snippets.



Last active Apr 23, 2020
What would you like to do?
Get Red website running
# This is what needs to be done on fresh Ubuntu 19.10
# update your system, just in cause
sudo apt-get update
sudo apt-get -y upgrade
# install required tools: curl, gnupg (applies to LXC version of Ubuntu, ISO has them)
sudo apt-get -y install curl gnupg
# install nvm
curl -o- | bash
# login again to restart terminal
bash --login
# install node v13: latest version v14 gives strange errors
nvm install 13
# install hugo
sudo apt-get -y install hugo
# install yarn
curl -sS | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get -y install yarn
# clone repo, update .gitmodules to use HTTPS instead of GIT protocol and fix Featherweight theme bug
git clone
cd web-red
sed -i 's/\/\/\//' .gitmodules
git submodule update --init --recursive
sed -i 's/LastMod/Lastmod/g' themes/featherweight/layouts/_default/*
# prepare yarn
yarn install
# start yarn
yarn start
# you should be able to connect to https://localhost:1313 now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.