genicsblog.com

genicsblog.com

Static site for Genics Blog: An open source developer publication.

genicsblog.com

Genics Blog is an open-source developer publication.

For publishing your content on the blog, please refer to the Author Docs.

This repository mainly holds all the content for the blog and the static pages of the site. It also hosts the workflow for building the Jekyll site and deploying it. Theme related setup for the site is done in the theme-files repository.

Structure of this repository

.github: CI/CD workflows, issue and pull request templates.

_data: Metadata used by the site.

_drafts: The drafts for the blog posts.

_posts: The published blog posts, under specific author folders.

_series: Series pages that list grouped articles.

Contributing

Publishing content

To publish a post on the blog, you must first set up your profile.

Then you can create a submission request by opening an issue and filling out the Submission Request template.

Once someone from the team responds and approves your request, you can create a draft. Once done, go back to the submission request and let the team know. Someone from the team will review the submission, make some small changes (for grammar, seo, styling, etc) and then publish your post.

Check out the author docs for more information.

You may open general issues related to the site in this repository. Only the PRs related to publishing articles or the CI/CD process are to be done in this repository.

Anything related to the styling/feature requests for the website must be done in the theme-files repo.

Local Setup

Please install Ruby (preferrably 3.x) and Node.js (preferrably 16.x) before you proceed.

Run the dev.sh script in order to set up the local environment and build the website:

./dev.sh

The first build would take a few moments as it clones the theme files and installs all the required dependencies. Once done, you can preview the site at localhost:4000. Subsequent builds should be faster.

Troubleshooting

If you get a permission error, try providing the correct permissions to the bash script by running:

chmod +x dev.sh

Now you should be able to run the ./dev.sh command.

If you get an error saying that the command bundle is not found, make sure you have Ruby installed and then try running gem install bundler and then run ./dev.sh again.

Feel free to open an issue if you need any help! You can also join our Discord server to get in touch with us.

License

The content under _posts folder belongs to the respective authors. Please contact the authors for questions relating to their content and licensing.

The content of the site excluding _posts is licensed under the CC BY-SA 4.0.