Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# riveroad River Road Website #### OVERVIEW First install and then goto deploy section. The other sections are just info about what deploy does. Use a PAT for github access (use it on the command line in place of the password) ## Ski Cabin and Airbnb [Website](http://<user>.users.sonic.net/ "River Road Website") Github public repo: `git clone https://github.com/bodaro/riveroad.github` Use markdown converter to make files into html: https://markdowntohtml.com/ #### Install * Create a user on sonic.net and activate simple website hoisting * Goto: https://members.sonic.net/websites/personal_web_hosting/ * Click activate _Mini Hosting_ * `brew install duck` * `brew install pandoc` #### Programs ##### Convert md to html `cat ski.md | pandoc -f gfm > ski.html` ##### Convert all `find ./ -iname "*.md" -type f -exec sh -c 'pandoc -f gfm "${0}" -o "./$(basename ${0%.md}.html)"' {} \;` ##### FTP Files to server Aliases/links: /home/WWW_pages/bodaro or usr/local/lib/WWW_pages/bodaro NOTE: the URLs here are incorrect, see deploy.sh for the correct path to use with sonic `duck -existing overwrite --upload ftps://ftp.sonic.net/home/WWW_pages/<user>/ ~/*.html` `duck -existing overwrite --upload ftps://ftp.sonic.net/home/WWW_pages/<user>/ ~/*.ico` `duck -existing overwrite --upload ftps://ftp.sonic.net/home/WWW_pages/<user>/ ~/*.css` #### Deploy -will convert files from md to html and ftp html, ico, css to the sonic website -you will need to supply the password for the sonic username `./deploy <sonic username>`