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

Latest commit

 

History

History
39 lines (26 loc) · 698 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 698 Bytes

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