Last active
June 5, 2018 14:59
-
-
Save ayoayco/20dd2df2d12350a6518e5b424da38fc9 to your computer and use it in GitHub Desktop.
Ubuntu initial setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download .deb installer of nodejs 8 | |
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
# install packages | |
$ sudo apt-get install -y nodejs ruby2.4 ruby2.4-dev build-essential dh-autoreconf make python3-pip libssl-dev libffi-dev python3-dev virtualenv python3-venv | |
# for Jekyll dev't, add two lines at end of ~/.bashrc: | |
export GEM_HOME=$HOME/gems | |
export PATH=$HOME/gems/bin:$PATH | |
# then run: | |
$ source ~/.bashrc | |
# install gems | |
$ sudo gem update | |
$ gem install jekyll bundler | |
# to start jekyll project, go to jekyll project directory, then... | |
$ bundle exec jekyll serve | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment