Jekyll: Difference between revisions

From Stat DS Computing Wiki
Jacobg2 (talk | contribs)
No edit summary
Jacobg2 (talk | contribs)
No edit summary
Line 1: Line 1:
Follow the steps below to create a custom webpage on https://stat.cmu.edu under your own personal (/~yourusername) path. You must contact "remarks.stat.cmu.edu" for initial setup.
Follow the steps below to create a custom webpage on https://stat.cmu.edu under your own personal (/~yourusername) path. You must contact "remarks.stat.cmu.edu" for initial setup.


# Create a new project folder to hold the Jekyll files. Do not store Jekyll project files within your "~/public_html" folder.
1 - Initialize a new Jekyll projet folder. Do not use your "public_html" folder for this.
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
mkdir ~/jekyllsetupfolder
jekyll new jekyllsetupfolder
</syntaxhighlight>
 
2 - Edit the URL parameters in the config file.
<syntaxhighlight lang="bash">
nano jekyllsetupfolder/_config.ym
</syntaxhighlight>
 
3 - Generate the final project files in your "/public_html" folder.
<syntaxhighlight lang="bash">
jekyll build --source ~/jekyllsetupfolder --destination ~/public_html
</syntaxhighlight>
</syntaxhighlight>
#

Revision as of 15:09, 17 December 2025

Follow the steps below to create a custom webpage on https://stat.cmu.edu under your own personal (/~yourusername) path. You must contact "remarks.stat.cmu.edu" for initial setup.

1 - Initialize a new Jekyll projet folder. Do not use your "public_html" folder for this.

jekyll new jekyllsetupfolder

2 - Edit the URL parameters in the config file.

nano jekyllsetupfolder/_config.ym

3 - Generate the final project files in your "/public_html" folder.

jekyll build --source ~/jekyllsetupfolder --destination ~/public_html