Permalink
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (45 sloc) 2.63 KB

RubyNepal.org

The RubyNepal.org is a static site powered by jekyll. The source code can be found on github and site is hosted on netlify.

Contributing

If jekyll is new to you, you may want to go through its docs first. CloudCannon has some excellent jekyll video tutorials as well.

You can also use prose.io to submit the changes without cloning the repo.

Steps:

# Fork the repo
github.com:RubyNepal/rubynepal.github.io

# Clone your forked repo
$ git clone git@github.com:<your_github_username>/rubynepal.github.io.git

# Create a new branch for you.
$ git pull orgin master # You should be in master branch
$ git checkout new-branch # Change or add post or do something there

# Make your changes.
$ bundle exec jekyll serve # Fires up local server at port 4000
# Preview the changes on localhost:4000

# Make sure linters are happy
$ bundle exec guard # to auto run tests and other linter checks (js, sass, html)

# Commit the changes
$ git commit -m 'My awesome contribution'

# Push your changes and
$ git push

# Make a pull request of your newly changed branch against
github.com/RubyNepal/rubynepal.github.io

# After you create a pull request, tests are run automatically on the newly created PR using Hound and TravisCI for style and lint checks.

# Deploy preview is auto created with web url via Netlify.

# When the PR is merged into master, the site is automatically deployed with the help of netlify continuous deployment.

You can also use jekyll-admin by visiting localhost:4000/admin to write blogs with WYSIWYG UI editor and make other changes.

When you open a pull request, we'd appreciate if you follow some basic guidelines:

Describe what you're changing, and more importantly why you're changing it

Keep the pull request focused on one thing - if you make two different, unrelated changes, please separate them into two pull requests

Maintainers

Contributors

LICENSE

See/read The MIT License.

Logo licence

Jekyll and other projects' logos used in this project belong to their respective organisation. "RubyNepal" logo is Copyright by RubyNepal. All rights reserved.