-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
windows 10 tutorial #6100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows 10 tutorial #6100
Conversation
Added a tutorial on getting jekyll working on Windows 10 Creators Update via Bash.
Windows 10 Tutorial
/cc: @jekyll/documentation |
Henry, thanks for writing out this installation doc. I think it would fit better on the Jekyll on Windows page rather than in Tutorials. Also, how do the rest of the Windows instructions fit in with your Windows 10 section? Do you still have to complete the other Windows-related tasks such as Time Zone Management or Auto-regeneration? Does the Chocolately tutorial still work on Win 10? In short, can you integrate this info more seamlessly into the larger Windows documentation (on that page)? |
Thanks for the response @tomjohnson1492. I agree it would probably fit better on that page. Auto-Regeneration is working fine, although the error message still displays as a warning. I'll have to double check time-zone management, but my files were formatting with the current time/date when I create a new project. |
@HenryKobin There is no need to create another PR, just continue here. /cc @jekyll/windows for feedback |
Removed tutorial/link to tutorial, added to windows docs
added line for how to test.
docs/_docs/windows.md
Outdated
sudo apt-get install ruby2.3 ruby2.3-dev build-essentials | ||
``` | ||
|
||
Or you can install an old version of ruby (1.9.3). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't mention this, Jekyll requires Ruby > 2.0
removed section about older version of Ruby on Windows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected!
/cc @jekyll/windows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of minor nits
docs/_docs/windows.md
Outdated
``` | ||
|
||
|
||
**And thats it!** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's
docs/_docs/windows.md
Outdated
|
||
|
||
**And thats it!** | ||
If you cd into the folder, you can make sure time management is working by opening your "_posts"_ folder. You should see a markdown file with the current date listed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cd should be cd
imo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"_posts"_
is probably the wrong markup for this? consider using backticks here
docs/_docs/windows.md
Outdated
*Please note* Bash on Ubuntu on Windows is still under development, so you may run into issues. If you see an Auto-Regeneration error warning in your Bash instance, you can ignore it. | ||
|
||
## Installation via Chocolatey | ||
|
||
|
||
A quick way to install Jekyll is to follow the [installation instructions by David Burela](https://davidburela.wordpress.com/2015/11/28/easily-install-jekyll-on-windows-with-3-command-prompt-entries-and-chocolatey/): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe amend this to say A quick way to install Jekyll using Chocolatey is [...]
?
docs/_docs/windows.md
Outdated
sudo apt-get update | ||
sudo apt-get install ruby2.3 ruby2.3-dev build-essentials | ||
``` | ||
Next lets update our Ruby gems: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's
docs/_docs/windows.md
Outdated
sudo apt-get update -y && sudo apt-get upgrade -y | ||
``` | ||
|
||
Now we can install Ruby. First we need to add the repository list from BrightBox. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you provide a link here? i could see folks getting sceptical at just adding a PPA with no real context attached to it
docs/_docs/windows.md
Outdated
|
||
*Please note:* You must have [Bash on Ubuntu on Windows](https://msdn.microsoft.com/en-us/commandline/wsl/about?f=255&MSPPError=-2147217396) enabled. | ||
|
||
First lets make sure all our packages / repositories are up to date. Open a new Command Prompt instance, and type the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's
@HenryKobin can you also test if TimeZone Management is fine during the build process on the subsystem..? I mean, say the |
corrected several grammar errors, and clarified some portions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected several errors. Also, timezone management via the config file works totally fine. It updates the HTML.
@ashmaroli Timezone management from the config file works just fine. I tested it with America/New_York and it showed up properly via liquid templating. |
Thanks @HenryKobin great addition for Windows users 🐚 |
@jekyllbot: merge +docs |
Hey guys! I got jekyll running flawlessly on my copy of windows 10 creators update with some pretty basic steps taken. I was curious if I could contribute this guide to the docs. Thanks for your time, let me know if you want me to edit anything / reformat the markdown.
/cc @parkr @jekyllbot