From c2f69325f180b3a0bf7e04542a2d8c999417b569 Mon Sep 17 00:00:00 2001 From: Dima Shevtsov Date: Thu, 10 May 2018 18:53:16 -0500 Subject: [PATCH 1/4] Fixed the issue with html-proofer --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 9b41a70..ba610e4 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -9,7 +9,7 @@ GEMS=bundler sudo apt-get update # Install Ubuntu packages -sudo apt-get install git -y +sudo apt-get install -y git libcurl4-openssl-dev # Install Ruby if [ ! -e $RVM_PATH ]; then From cfafa1802ea3fe6733dafd6440f26fe1f3cfc8fa Mon Sep 17 00:00:00 2001 From: Dima Shevtsov Date: Thu, 24 May 2018 17:20:02 -0500 Subject: [PATCH 2/4] updated ruby version to 2.5 --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index ba610e4..10f0626 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Customization parameters. -RUBY_VERSION=2.4 +RUBY_VERSION=2.5 RVM_PATH=/usr/local/rvm GEMS=bundler From d24621606450f14ca54faea6396e32b14f3f7015 Mon Sep 17 00:00:00 2001 From: Dmitry Shevtsov <12731225+dshevtsov@users.noreply.github.com> Date: Fri, 31 May 2019 17:34:09 -0500 Subject: [PATCH 3/4] Update ruby version to 2.6 --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 10f0626..d2f4720 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Customization parameters. -RUBY_VERSION=2.5 +RUBY_VERSION=2.6 RVM_PATH=/usr/local/rvm GEMS=bundler From 52fb098125fc12ea37fe048cf3ef7f64a57c5330 Mon Sep 17 00:00:00 2001 From: Dima Shevtsov Date: Wed, 12 Feb 2020 17:15:58 -0600 Subject: [PATCH 4/4] Update bootstrap Update gpg command Remove symlinks option for git Add rake init --- bootstrap.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) mode change 100644 => 100755 bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh old mode 100644 new mode 100755 index 10f0626..24aafed --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,9 +1,11 @@ #!/usr/bin/env bash # Customization parameters. -RUBY_VERSION=2.5 +RUBY_VERSION=2.6 RVM_PATH=/usr/local/rvm GEMS=bundler +# Replace 'none' with your token here if you have reading access to private magento repositories +TOKEN=none # Get information on the newest versions of Ubuntu packages sudo apt-get update @@ -13,12 +15,13 @@ sudo apt-get install -y git libcurl4-openssl-dev # Install Ruby if [ ! -e $RVM_PATH ]; then - gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 + gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB curl -sSL https://get.rvm.io | bash -s fi source $RVM_PATH/scripts/rvm +# Set up the default ruby version rvm use --install $RUBY_VERSION --default # Install gems @@ -29,13 +32,18 @@ sudo apt-get autoremove -y # Clone the 'devdocs' repo from GitHub in a shared directory cd /vagrant/ -git clone -c core.symlinks=true https://github.com/magento/devdocs.git +git clone https://github.com/magento/devdocs.git # Note: To avoid entering your user name and password every time you push, you can either use the SSH protocol # Install gems and dependencies from Gemfile. cd /vagrant/devdocs +# Use system libraries to build the nokogiri extensions to decrease the gem installation time +bundle config build.nokogiri --use-system-libraries +# Install gems from Gemfile bundle install +# Provide the 'token' shell variable to enable cloning by https +token=$TOKEN rake init # Run Jekyll to generate the devdocs site on localhost:40000 # bin/jekyll serve --host=0.0.0.0