Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.88 KB

CONTRIBUTING.md

File metadata and controls

54 lines (42 loc) · 1.88 KB

Guidelines and Instructions for Contributing

Manually adding your feed via Pull Request

If you don't want to submit your feed via a GitHub issue, you can bypass the issues template to add it directly to the file planet.ini.

  1. Fork this repository
  2. Upload your avatar to hackergotchi directory
  • Supported formats: jpg, png, (some) svg files, and webp. When in doubt, just use your chapter's Twitter or Facebook avatar. Webp is preferred as it speeds up load times.
  1. Edit planet.ini and add a new section containing the info for your feed
[exampledsa]
title = Example DSA
feed = https://www.example.com/feed/
link = https://www.example.com
location = en
avatar = example.webp
  1. Open a Pull Request against this repository.

Alternatively you can send an email to ntc@dsacommittees.org with all the mandatory information listed above

Development environment

Jekyll development

To run this website locally, use the following commands:

git clone https://github.com/dsa-ntc/dsa-planet # substitute in your fork url if you're using your fork
cd dsa-planet
bundle config set --local path 'vendor/bundle'
bundler install
bundler exec rake build
bundler exec jekyll serve

and visit 127.0.0.1:4000

Feed test development

To test the feeds and avatars found in planet.ini, use the following commands:

git clone https://github.com/dsa-ntc/dsa-planet # substitute in your fork url if you're using your fork
cd dsa-planet
bundle config set --local path 'vendor/bundle'
bundler install
bundle exec ruby tests/feedcheck.rb