Skip to content

Cryptorado-Community/Cryptorado-HTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cryptorado Community Website

A community run and maintained website that anyone can host and contribute to. It is the place to find out what is going on in the Cryptorado & Web3 community. Resources live here to connect, learn, and get involved in all that is going on in the community!

Development

This is a simple HTML site, no frameworks 😸 .

Local update-on-change live-server

Open up the containing directory in a terminal and use the command:

cd site
npx live-server

This will serve the website in your default browser on 127.0.0.1:8080 by default and has live-reload on any file changes in ./site.

Deploy

This site is hosted on IPFS - it's content is pined to IPFS, and access it from any IPFS gateway or node, and redirect our domain name to point to the IPFS gateway, this article goes over how to do that.

  1. Pin the ./site working directory locally and on community node(s) with UnixFS style. Do not wrap in folder to preserve name!
  2. Pin to hosting service(s) via CID or direct upload of the site working directory.
  3. Update DNS for new CID (dnsLink).
  4. Inform the community of new CID.

Architecture and Features:

The site aims to be static and client side only compute (or integrated API calls for distributed compute) to enable one to completely own and manage their own data on the site, and are incentivized to host and run operations related to the site. (see Desired Architecture and Features in the archived old version of the site)

Static Website

Desire no server side compute needed. Everyone who hosts our resources can be a server and client. What does a static site model provide?

  • Optimized SEO
  • Lightning fast and light to host and load
  • Flat pages as database
  • Can be tracked in a Git repo - so history is maintained and easy to host among distributed peers

Distributed Backend

API to Web3 services to hold the events calendar (replace google) would be an awesome addition!

Self hosted site:

Want a very easy onboarding process - just install and you are a host + node for all the community resources. To host the site under our own domain on IPFS, this is pretty comprehensive.

Built with OSS