Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

PSU-HC/static-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple File Hosting


README yet to be updated with Makerspace-specific formatting


Static site built quickly with Hugo CLI

# on OSX
# get hugo

brew install hugo

# clone site

git clone https://github.com/psu-hacking/static-site
cd static-site

# Compile and compress public directory

hugo
zip -r site-archive.zip public

# upload and host with sftp & ssh

sftp [email protected]
> cd yoursite.net
> put site-archive.zip

# new terminal window

ssh [email protected]
# check your remote filesystem- the idea is:
> unzip site-archive.zip
> rm -rf yoursite.net/site-archive.zip

visit us