doubleunion / doubleunion-dot-org

The external website for Double Union
https://doubleunion.org/
GNU General Public License v3.0
4 stars 17 forks source link

DU's website

Development setup

  1. Fork the repo (click the Fork button above), and clone your fork to your local machine. Here's a GitHub tutorial about how to do so.

  2. Check whether you have the ruby version in the file .ruby-version installed by running ruby --version in your terminal

  3. If you don’t have the ruby version in the file .ruby-version installed, follow the instructions here

  4. Install Bundler (if you don’t have it already installed)

gem install bundler 

If you get a permissions error on MacOS, try these instructions to troubleshoot.

  1. Install dependencies
bundle install
  1. Run the jekyll server
bundle exec jekyll serve
  1. Load up the page in your browser and begin editing! By default the site will run at localhost:4000

After you have it set up

To stop the server from running locally on Mac, go to the terminal window where you have it running and press ctrl-c.

To start it again, now that you've completed the initial setup, just run the jekyll server again:

bundle exec jekyll serve

Contributing

If you are new to GitHub, you can use this guide for help making a pull request.

  1. Fork it (there's a fork button in the upper right part of this page)

  2. Get it the app running locally (as described above)

  3. Create your feature branch

    git checkout -b my-new-feature
  4. Write your code and specs

  5. Commit your changes

    git commit -am 'Add some feature'
  6. Push your branch up to GitHub

    git push origin my-new-feature
  7. Create a new Pull Request explaining your changes (including which issue it's fixing, if there is one)

  8. If you find bugs, have feature requests or questions, please create an issue.

License

Copyright (C) 2016 Double Union

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the LICENSE.txt file for the full license.