Contributing to Bribe By Bytes
Youtube Creators
TODO
Blogs
This document section will explain how to publish your blog posted here to dev.to and medium.com.
Step 1 - Register yourself
Register yourself in dev.to and medium.com. We encourage individual registrations to get industry visibility and contribution recognition.
Step 2 - Get Authentication Credentials like api_key or oauth2
Its very easy, refer https://docs.dev.to/api/#section/Authentication
Step 3 - Prepare your blog
If you have already published your blog in bribebytes.github.io/landing-page/blog then you are already 90% closer to publishing it to other sites
Some Pre-Requisites for easy imports
1. Ensure all your images are pointing to public full URL and not relative URL.
2. Ensure you have right headers (markdown front matter) metadata that is suggested by respective sites
Step 4: Publishing
https://bribebybytes.github.io/landing-page/blog/
Publishing to our Blog (Docusaurus based) -Create your .md file.
Add file to /blog folder and Raise a PR to https://github.com/bribebybytes/landing-page
Once PR is approved, our CI/CD will deploy the site to https://bribebybytes.github.io/landing-page/blog/
Command Reference```yarn start #for local development and validationsyarn run deploy to publish it to gh-pages, which is actually auto-hosted by github @ https://bribebybytes.github.io/landing-page```
https://dev.to
Publishing to dev.to -Ensure you have right front matter as explained above
pushing using curl
note
Please note article to dev.to will be pushed as draft, check your logo->dashboard in dev.to to see drafts. To publish it add to front matter "published: true" and save. This we can automate (TODO) once we are clear with this process manually.
info
dev.to support {% youtube E3giPRiXSVI %} with just youtube video id to embed that video. While medium support full URL https://www.youtube.com/watch?v=E3giPRiXSVI for embedding youtube videos. Including both makes it easier to publish to both dev.to and medium same article
check landing-page/blog/2020-02-08-kubevious.md for example