All Projects → ipfs → Website

ipfs / Website

Licence: mit
IPFS project website

Labels

Projects that are alternatives of or similar to Website

Material Color
🔆 The colour palette, based on Google's Material Design, for use in your project.
Stars: ✭ 135 (-21.97%)
Mutual labels:  less
React Admin
🎉 A magical react admin
Stars: ✭ 149 (-13.87%)
Mutual labels:  less
Web
Mirror of git://ffmpeg.org/ffmpeg-web
Stars: ✭ 155 (-10.4%)
Mutual labels:  less
Vuepress Theme Yur
Next: base on VuePress2.x
Stars: ✭ 137 (-20.81%)
Mutual labels:  less
Peep
The CLI text viewer tool that works like less command on small pane within the terminal window.
Stars: ✭ 139 (-19.65%)
Mutual labels:  less
Kirby Webpack
💪 A Kirby CMS starter-kit with modern frontend tools
Stars: ✭ 150 (-13.29%)
Mutual labels:  less
Dianpinplus
从零开始使用React全家桶开发电商系统
Stars: ✭ 135 (-21.97%)
Mutual labels:  less
Pipeline Stage View Plugin
Visualizes Jenkins pipelines
Stars: ✭ 167 (-3.47%)
Mutual labels:  less
Hexo Theme Concise
Hexo 简约主题,响应式设计支持 PC、平板、手机等设备,代码高亮使用 monokai-sublime 风格,支持亮/暗色主题跟随系统。可以最低兼容到 IE8。
Stars: ✭ 146 (-15.61%)
Mutual labels:  less
Webpack Encore
A simple but powerful API for processing & compiling assets built around Webpack
Stars: ✭ 1,975 (+1041.62%)
Mutual labels:  less
Gridea Theme Pure
一款专为 Gridea 设计的主题 - 简约、漂亮。
Stars: ✭ 137 (-20.81%)
Mutual labels:  less
Halo Theme Xue
追求个性与至简
Stars: ✭ 139 (-19.65%)
Mutual labels:  less
Reactql
Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
Stars: ✭ 1,833 (+959.54%)
Mutual labels:  less
Glup
Some of the gulp tutorial -《gulp笔记》
Stars: ✭ 136 (-21.39%)
Mutual labels:  less
Biosyntax
Syntax highlighting for computational biology
Stars: ✭ 164 (-5.2%)
Mutual labels:  less
Admin Theme
Primefaces admin theme based on Admin LTE and Bootstrap
Stars: ✭ 136 (-21.39%)
Mutual labels:  less
Vscode Powertools
A swiss army knife with lots of tools, extensions and (scriptable) enhancements for Visual Studio Code.
Stars: ✭ 150 (-13.29%)
Mutual labels:  less
Compile Hero
🔰Visual Studio Code Extension For Compiling Language
Stars: ✭ 169 (-2.31%)
Mutual labels:  less
Spring Petclinic Reactjs
ReactJS (with TypeScript) and Spring Boot version of the Spring Petclinic sample application
Stars: ✭ 165 (-4.62%)
Mutual labels:  less
Mailspring Theme Starter
A starting point for creating your own custom Mailspring themes!
Stars: ✭ 152 (-12.14%)
Mutual labels:  less

IPFS Website

build status

Official website for IPFS http://ipfs.io

This project builds out a static site to explain IPFS, ready for deployment on ipfs itself. It uses hugo to glue the html together. It provides an informative, public-facing website. The most important things are the words, concepts and links it presents.

The site content is in content/ directory.

Install

> git clone https://github.com/ipfs/website

Usage

To deploy the site ipfs.io, run:

# Build out the optimised site to ./public, where you can check it locally.
> make

# Add the site to your local ipfs, you can check it via /ipfs/<hash>
> make deploy

# Save your dnsimple api token as auth.token
> cat "<api token here>" > auth.token

# Update the dns record for ipfs.io to point to the new ipfs hash.
> make publish-to-domain

The following commands are available:

make

Build the optimised site to the ./public dir

make serve

Preview the production ready site at http://localhost:1313 (requires hugo on your PATH)

make dev

Start a hot-reloading dev server on http://localhost:1313 (requires hugo on your PATH)

make minify

Optimise all the things!

make deploy

Build the site in the public dir and add to ipfs (requires hugo & ipfs on your PATH)

make publish-to-domain 🚀

Update the DNS record for ipfs.io. (requires an auto.token file to be saved in the project root.)

If you'd like to update the dnslink TXT record for another domain, pass DOMAIN=<your domain here> like so:

> make publish-to-domain DOMAIN=tableflip.io

See the Makefile for the full list or run make help in the project root. You can pass the env var DEBUG=true to increase the verbosity of your chosen command.

Latest Blog Posts

The IPFS Starlog list in the Latest section is populated from the IPFS blog, which has a separate build and deploy process. That process includes building an index.json file containing the latest post data in the blog's root directory. Latest posts can be rendered by this project via two mechanisms:

  1. Statically, at build time. The /layouts/partials/latest.html partial contains code (currently commented-out) which GETs index.json from its expected absolute URL and uses the returned data to populate the IPFS Starlog.
  2. Dynamically, via the /js/lib/blog-feed.js script. This script requests the resource at /ipns/blog.ipfs.io/index.json once the page has loaded to avoid any CORS concerns. If successful, the response will be used to overwrite any static content.

Dependencies

  • hugo to build website
  • Node.js and npm for build tools
  • ipfs to deploy changes
  • jq, curl and an auth.token file in the project root containing your dnsimple api token to update the dns

All other dependencies are pulled from npm and the Makefile will run npm install for you because it's nice like that.

Contribute

Please do! Check out the issues, or open a PR!

Check out our notes on contributing for more information on how we work, and about contributing in general. Please be aware that all interactions related to IPFS are subject to the IPFS Code of Conduct.

Small note: If editing the README, please conform to the standard-readme specification.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].