Skip to content

Getting started

zallen edited this page Dec 17, 2019 · 9 revisions

This is a guide on how to get started with no prior git or npm experience.

Things to install:

  1. git
  2. NodeJS
  3. Yarn (this depends on NodeJS being installed first)
  4. Visual Studio Code

Then fork and clone down the repo:

  1. Click fork button in the top-right of https://github.com/rh-uxd/openshift-storybook/
  2. git clone https://github.com/YOUR-USERNAME/openshift-storybook.git
  3. cd openshift-storybook
  4. git remote add upstream https://github.com/rh-uxd/openshift-storybook.git
  5. git fetch upstream
  6. git checkout -b myNewBranch upstream/master

Run the code locally:

  1. yarn install
  2. yarn start

To make content changes, edit Markdown files using a text editor, like Visual Studio Code. You can add image files to the Sketch directory. Once done, commit them:

  1. git add .
  2. git commit -m "What I'm changing"
  3. git push origin
  4. Open a PR!
Clone this wiki locally