-
Notifications
You must be signed in to change notification settings - Fork 2
7b) Github Site Instructions
Randy Yee edited this page Sep 23, 2020
·
1 revision
Note: Instructions for Windows
- 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. - 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
- Check if Jekyll installed properly:
jekyll -v
- 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 - 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. - Finally, type:
bundle exec jekyll serve
and this will start building the site and making it available locally (available to your machine only) - Open up a web browser (Chrome or Firefox) and navigate to http://localhost:4000