vagrant-jekyll
That’s just a quick way to develop your own Jekyll site.
Getting Started
-
To start working:
vagrant up
It setups VM with ruby 2.3 and github-pages. And maps local folder to "/projects" on VM. To choose the folder change vagrantfile(line 40):
config.vm.synced_folder 'D:\Projects\GitHubPages', "/projects"
-
Connect to VM
vagrant ssh
or putty and etc.
-
On VM go to "/projects" folder.
-
Make new site with:
jekyll new my-site-name
-
Go to created folder:
cd my-new-site
-
Start the local server:
jekyll serve -H 0.0.0.0
-
On local machine open a browser and go to:
localhost:4000
Congratulation! You can see your new site! :)
- To edit the site go to "D:\Projects\GitHubPages"(or what you have set up) and put new articles to created site.