Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

oslopride/oslopride-website

Repository files navigation

Oslopride

This is Oslo Pride's official website.

Setup

First clone the repository and install the dependencies using yarn. You can start a development server using yarn dev.

We recommend using VisualStudio Code when working on this project (or any other Node.js/JS project for that matter). It's open source, and has a large community and lots of good extensions. When opening the project in VisualStudio Code, you can list the recommended extensions by navigating to the extensions pane and search for @recommended.

Workflow

  1. Find or create an issue, and assign it to your self.
  2. Create a local branch from master with a short descriptive name. Use dashes ("-") instead of spaces.
  3. Split your work into small logical commits (use imperative language).
  4. Push your work to github and create a pull request (PR).
  5. Travis (our CI) will automatically run the tests and buld the PR. If this fails, please fix the issues.
  6. When the tests and build succeed, a bot (pridebot) will comment on your PR with a link to a staged production build of the website. Revewers can use this to look how your changes will look in production.
  7. Request one or more revewers.
  8. When a reviewer has approved your PR, you can squash merge it into master. Make sure the title of the squash merge is a short and good description of your changes.