Permalink
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (39 sloc) 1.66 KB

CONTRIBUTING

🎉🎉 First of all, THANK YOU for taking time to contribute this package! 🎉🎉

Steps to Contribute

  1. please checkout Issues Page and Pull Request Page first in case there is already someone being assigned or working on it.

  2. fork this repo

  3. clone the repo you just forked to your disk

    git clone https://github.com/my-account/ide-html.git
  4. install npm dependencies then create a branch named as the feature you want to contribute. For example:

    cd ide-html && yarn && git checkout -b refine-doc
  5. make changes to the code

  6. you may preview your changes by enabling DEV mode

  7. you may test your changes. For example:

    npm run test
  8. commit the changes and push the branch you created to your remote

    git add ./
    git commit -m "some changes"
    git push -u origin MY_BRANCH
    
  9. create a pull request

How to Preview Your Changes in Development?

  1. uninstall ide-html if you have installed
  2. change into the package directory you have forked and cloned
  3. use apm command to link the package to atom user directory
apm link

Now your package directory has been linked to ~/.atom/packages/ide-html

  1. you can preview changes by launching (or reloading) Atom

    • after your development, remove package link
    cd path/to/fork/repo && apm unlink