Jekyll: Difference between revisions
From Stat DS Computing Wiki
No edit summary |
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. | Follow the steps below to create a custom webpage on https://stat.cmu.edu under your own personal (/~yourusername) path. If you do not have a "stat.cmu.edu/~username" site already, you must contact "remarks.stat.cmu.edu" for initial setup. | ||
1 | 1: Sign into the server. | ||
<syntaxhighlight lang="bash"> | |||
ssh username@stat.cmu.edu | |||
</syntaxhighlight> | |||
2: Initialize a new Jekyll projet folder. Do not use your "public_html" folder for this. | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
jekyll new jekyllsetupfolder | jekyll new jekyllsetupfolder | ||
</syntaxhighlight> | </syntaxhighlight> | ||
3: Edit the URL parameters in the config file. | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
nano jekyllsetupfolder/_config.ym | nano jekyllsetupfolder/_config.ym | ||
</syntaxhighlight> | </syntaxhighlight> | ||
4: Generate the final project files in your "/public_html" folder. | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
jekyll build --source ~/jekyllsetupfolder --destination ~/public_html | jekyll build --source ~/jekyllsetupfolder --destination ~/public_html | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 15:12, 17 December 2025
Follow the steps below to create a custom webpage on https://stat.cmu.edu under your own personal (/~yourusername) path. If you do not have a "stat.cmu.edu/~username" site already, you must contact "remarks.stat.cmu.edu" for initial setup.
1: Sign into the server.
ssh username@stat.cmu.edu2: Initialize a new Jekyll projet folder. Do not use your "public_html" folder for this.
jekyll new jekyllsetupfolder3: Edit the URL parameters in the config file.
nano jekyllsetupfolder/_config.ym4: Generate the final project files in your "/public_html" folder.
jekyll build --source ~/jekyllsetupfolder --destination ~/public_html