For local deploy this site needed next actions:
Attention: this instruction is actually for Ubuntu OS, for deploy in another OS, please, refer to
- Install dependencies:
Install Ruby and other prerequisites:
sudo apt-get install ruby-full build-essential zlib1g-dev
Add environment variables to your ~/.bashrc file to configure the gem installation path:
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc- Install Jekyll and Bundler
gem install jekyll bundler
-
Change into stroppy-site/source directory.
-
Build the site and make it available on a local server:
bundle exec jekyll serve
- Browse to
http://localhost:4000