mesh-services icon indicating copy to clipboard operation
mesh-services copied to clipboard

Host a static Jekyll website

Open benhylau opened this issue 7 years ago • 6 comments

Recipe that configures:

  • Jekyll website
  • commit webhook and nightly
  • nginx
  • letsencrypt
  • cjdns and serving website over its IPv6

Basically, automate: https://github.com/tomeshnet/documents/blob/master/service_setup/website.md (no cjdns service yet, but current tomesh.net has the first 4 items)

benhylau avatar Mar 24 '17 04:03 benhylau

IPFS site upload from existing running site.

 wget \
     --recursive \
     --no-clobber \
     --page-requisites \
     --html-extension \
     --convert-links \
     --restrict-file-names=windows \
     --domains tomesh.net \
     --no-parent \
tomesh.net
cd tomesh.net
ipfs add -r .

darkdrgn2k avatar May 17 '18 18:05 darkdrgn2k

How I would do this:

  1. Translate the website.md into a Dockerfile @chrisbarless
  2. Add cjdns and nginx the website over cjdns ipv6 @benhylau
  3. Add ipfs and republish website on ipfs on webhook @darkdrgn2k

benhylau avatar May 18 '18 18:05 benhylau

Also DAT: https://github.com/new-computers/seeder So we can host a website like that: https://decentralizedweb.net (scroll to very bottom)

benhylau avatar May 20 '18 05:05 benhylau

@chrisbarless not sure if you caught my msg on the chat. I think we can commit the Dockerfiles in this repository for now. Each Dockerfile in its own a folder like this: https://github.com/vanmesh/p2p-apps-dockers

The name of this repo may be misleading, feel free to propose renaming in a GitHub Issue. Your thoughts?

Clarification: The vanmesh/p2p-apps-dockers is where we put Dockerfiles intended to run on the armhf SBCs. This one is to run services on servers, and one Docker container would run multiple applications needed to serve a purpose such as a website over multiple content networks.

benhylau avatar May 22 '18 18:05 benhylau

Sounds good to me. @darkdrgn2k your instincts were correct!

So this is the repo we are supposed to use? This name is fine for now, it's descriptive enough.

chrisbarless avatar May 24 '18 14:05 chrisbarless

I'm going to hack on this when I have some time today and we can regroup on it when we meet up tomorrow @benhylau

chrisbarless avatar May 24 '18 14:05 chrisbarless