Instructions for creating a new file for the website
Last Updated 2018-07-25 Adam Lu
-
Connect to the server via these instructions.
-
Open a terminal on the server via these instructions.
-
Set up
s3cmdvia these instructions. -
Navigate to the home directory for the website
# Navigate to the home directory for the website cd /media/shareX/Website -
Create a new markdown file in the
coursesfolder (for example)# Create a new hugo new courses/new_file.mdThis will create the file
/home/adam/Website/content/courses/new_file.mdusing the templatearchetypes/default.md -
Now open the markdown file with Typora or Sublime Text and edit it to your liking.