[go: up one dir, main page]

Skip to content

Wharf approved and pending design decisions using request for comment (RFC) process

License

Notifications You must be signed in to change notification settings

iver-wharf/rfcs

Repository files navigation

Wharf RFCs (Request For Comments)

Codacy Badge

For any substantial change that needs to be thought through in Wharf, we try to use RFCs for them instead of internally trying to talk it out in meetings.

Not every decision needs an RFC, nor is any RFC excessive. This is the start of our journey with RFCs, so we're trying to limit them to changes with major impact.

Read more about the Wharf RFC process over at the GitHub pages: https://wharf.iver.com/rfcs/

Disclaimer

The documents and markdown files in this repository are documentation of our decision making. Only to have a place to look back at, similar to meeting notes or recordings, so we can see our previous decisions.

It is not documentation of how things are meant to be implemented. Do not take this repository as the source of truth of how Wharf works. Please check out our Wharf documentation or the source code itself to gain the actual source of truth.

Running locally

This repository is hosted using GitHub Pages, but you can also host it locally if you want.

  1. Install Jekyll requirements, such as Ruby v2.4.0 (or higher), GCC, and Make

    Jekyll's installation guide: https://jekyllrb.com/docs/installation/#requirements

  2. Install bundler Ruby gem.

    You will need administrator access, so make sure to add sudo or run the terminal as administrator to be able to install these gems.

    # Linux/Mac
    $ sudo gem install bundler
    # Windows (PowerShell), make sure to start the terminal as administrator
    PS> gem install bundler
  3. Install dependencies (Jekyll, Just-The-Docs theme, etc)

    bundle install
    
    # Optionally, if you have GNU make
    make deps
  4. Start the site. This does not need administrator access.

    bundle exec jekyll serve
    
    # Optionally add the --livereload flag for automatic refresh
    bundle exec jekyll serve --livereload
    
    # Optionally, if you have GNU make
    make serve
  5. Visit the locally hosted page over at: http://localhost:4000/

Linting markdown

make deps # download linting dependencies

make lint

make lint-md # only lint Markdown files

Some errors can be fixed automatically. Keep in mind that this updates the files in place.

make lint-fix

make lint-fix-md # only lint and fix Markdown files

Maintained by Iver. Licensed under the MIT license.