Skip to content

7b) Github Site Instructions

Randy Yee edited this page Sep 23, 2020 · 1 revision

Note: Instructions for Windows

  1. Download and Install a Ruby+Devkit version from RubyInstaller Downloads (current recommended version is "Ruby+Devkit 2.6.X (x64)"). Use default options for installation. Run the ridk install step on the last stage of the installation wizard.
  2. Open a new command prompt window from the start menu (you can search for command prompt), so that changes to the PATH environment variable becomes effective. In the command prompt type the following: gem install jekyll bundler
  3. Check if Jekyll installed properly: jekyll -v
  4. To create a very basic Github site using Jekyll type: jekyll new myblog. This command will then pull in the folders and files needed for your Github site.
    Note: myblog is just the name of the folder and you can use any name you want
  5. Once the process is complete, type cd myblog (change directory to the myblog folder or whatever name you used), and you should see the command prompt change to the myblog folder.
  6. Finally, type: bundle exec jekyll serve and this will start building the site and making it available locally (available to your machine only)
  7. Open up a web browser (Chrome or Firefox) and navigate to http://localhost:4000