Skip to content

PythonTrier/pythontrier.github.io

Repository files navigation

Install required dependencies

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

It is best to avoid installing Ruby Gems as the root user. Set up a gem installation directory by adding the following 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

gem install jekyll bundler

Clone project from repository

git clone [email protected]:PythonTrier/pythontrier.github.io.git 

Enter the pythontrier.github.io folder and install any missing gems with

bundle install

Launch Jekyll

Launch the application with

jekyll serve

Jekyll build builds the site and outputs a static site to the _site directory. Jekyll serve does the same thing as jekyll build except it rebuilds any time you make a change.

NOTE: You may get the following error.

FATAL: Listen error: unable to monitor directories for changes.

If you get that, you can raise the limit with the following [1]:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •