Jessica Schilling 71cc00cb8e Update from Forestry.io
Jessica Schilling updated src/_blog/videos.md
2021-03-23 18:06:24 +00:00
2021-02-26 14:29:52 -07:00
2021-03-23 18:06:24 +00:00
2020-12-03 14:23:48 +00:00
2020-12-03 14:23:48 +00:00
2021-01-20 12:33:36 +00:00
2020-12-10 11:58:10 +00:00
2021-03-15 13:09:54 -06:00

IPFS Blog & News

Picture of IPFS blog displayed on a laptop

This repository is home to in-development work on a VuePress/Forestry-based replacement for the existing IPFS blog. Target go-live is in late Q1 2021. Contact @jessicaschilling with any questions.

This work is part of a larger product-market fit realignment/enhancement effort on the IPFS website as a whole. View tracking board.

⚠️⚠️⚠️
If you want to publish a blog post, don't do it here yet — use the existing blog instead!
⚠️⚠️⚠️

Workflow for post authors/editors

This site uses the staging branch as a work-in-progress scratchpad for blog content. Once approved for go-live, staging is merged into main; the production site is automatically deployed from the latest main using Fleek.

Post authors and editors are strongly encouraged to use this site's Forestry integration for drafting and editing, including perks like WYSIWYG editing image upload/crop tools, and instant previews. If you're an IPFS core team member and don't have Forestry access, contact @jessicaschilling to arrange access and a quick orientation session. (If you prefer writing in Markdown, don't fear: Forestry also has a raw Markdown view.)

Forestry authoring/editing tips

  • Use the "Content Types" section of the left-hand menu to drill down to the type of item (e.g. blog post, video, news coverage, event) you want to create or edit.
  • Use the image crop/scale tool to resize and save images so they're the perfect dimensions for link cards and blog post header images. (Don't have an image? Don't worry; the site falls back to generic images in all cases.)
  • If you're in edit mode for a blog post, you can switch between WYSIWYG and raw Markdown (for example, if you want to add HTML embed code to the Markdown) by choosing "Raw Editor/WYSIWYG Editor" from the dots menu at the top right of the page:
    image

Forestry build preview tips

While WYSIWYG mode can often give you a good enough idea of what a blog post will look like, you can also load Forestry's built-in build preview in a new tab by clicking the eye icon at the top right of the page:
image

This build preview lets you preview changes to any content type (not just blog posts), and does not require you to save your changes in order to see them.

Other tips for using Forestry build previews:

  • Click the eye icon to regenerate a build preview at any time from the edit page. You may need to reload the build preview page if you don't see changes come through immediately.
  • Occasionally, a build preview page gets stuck at a URL ending in forestry/pending or simply won't load. Try these troubleshooting tips:
    • Remove forestry/pending from the URL and try again.
    • Check the Previews section of Forestry's Site > Settings page to see the preview server's current status, start/stop/restart the server, or examine the logs for errors. Simply restarting the preview server can correct a multitude of problems.
    • If all else fails, save your changes, wait a few minutes, and take a look at Fleek's build of the latest version of the staging branch. It's a considerably slower build/deploy time, but does reflect the latest changes once it finishes deploying.

To deploy to the live site

Forestry writes directly to staging, with staging previews available at https://ipfs-blog-staging.on.fleek.co/.

Once a staged post is ready to go live, please PR staging to main using this handy shortcut. Note that if multiple posts are in-flight in staging and only one is approved to go live, your PR may need some massaging.

PR reviewers: While we continue to dogfood Forestry, please leave your edits in comments rather than making additional commits. As our overall workflow continues to solidify, this suggested direction may change.

Need to add a redirect?

Please add a new line to src/.vuepress/redirects and make a PR of the changes to main.

Feel free to use Forestry to add details for "link cards" like videos, release notes or news items, and submit a PR for review/merge. However, if you're in a hurry, simply fill in the public submission form and a site maintainer will take care of the rest.

Workflow for site developers

Important! All site development forks/PRs (as opposed to blog posts) should be based on and merged into main, not staging.

Build and run locally

This site is built in Vuepress, and uses Vue/JavaScript for functional code and Markdown for post content.

To build a local copy, run the following:

  1. Clone this repository:

    git clone https://github.com/ipfs/ipfs-blog.git
    
  2. Move into the ipfs-blog folder and install the NPM dependencies:

    cd ipfs-docs
    npm install
    
  3. Boot up the application in dev mode:

    npm start
    
  4. Open localhost:8080 in your browser.

  5. Close the local server with CTRL + c.

  6. To restart the local server, run npm start from within the ipfs-blog folder.

PR and preview

Once you're happy with your local changes, please make a PR against the main branch. Including detailed notes on your PR helps smooth the approval and deployment process, so make sure to thoroughly document your changes, including screenshots to depict any changes in UI.

PRs against main will automatically generate Fleek previews for ease of review. A successful run of a Fleek preview build generates a live preview viewable by clicking Details in the fleek/build check at the bottom of your PR page: image

A reviewer will be by shortly to have a look!

Maintainers

This site is under active maintenance by members of the core IPFS team.

License

© Protocol Labs | Code is licensed with the MIT License. Except as noted, other content licensed CC-BY 3.0.

Description
No description provided
Readme MIT 702 MiB
Languages
Vue 43.2%
JavaScript 29%
CSS 23.3%
HTML 4.5%