Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.47 KB

CONTRIBUTING.md

File metadata and controls

45 lines (28 loc) · 1.47 KB

Contributing to Hydrogen

👍🎉 First off, thanks for taking the time to contribute! 🎉👍

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub.

Please join our Slack channel if you have any questions or just want to say hi.

Project setup

Quick and dirty setup

apm develop hydrogen

This will clone the hydrogen repository to ~/github unless you set the ATOM_REPOS_HOME environment variable.

I already cloned it!

If you cloned it somewhere else, you'll want to use apm link --dev within the package directory, followed by apm install to get dependencies.

Workflow

After pulling upstream changes, make sure to run apm update.

To start hacking, run atom --dev . from the package directory. Cut a branch while you're working then either submit a Pull Request when done or when you want some feedback!

Running specs

You can run specs by triggering the window:run-package-specs command in Atom. To run tests on the command line use apm test within the package directory.

We use Jasmine for writing specs.

Build Documentation

To build the website locally run:

npm install gitbook-cli -g
gitbook serve

For more information take a look at https://toolchain.gitbook.com/setup.html.