The source code of my website (located at karamoff.dev)
sudo apt update sudo apt upgrade
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt update && sudo apt install yarn
npm install --global gulp-cli
yarn install
To build the static version of the website in public
directory:
yarn build
To host the public
directory:
yarn start