Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.51 KB

README.md

File metadata and controls

62 lines (46 loc) · 1.51 KB

Request Yo Racks

Requesting bike racks to the city of Austin was never that easy.

Quickstart

If you need to install tools that must be installed globally on your system (OSX only) (most likely the first time you run this project):

bash tools/bootstrap-osx.sh

This will globally install tools like node.js.

Setup the local environment:

npm i

This will download all the project dependencies.

Setup the project

The full setup guide provides instructions to help you set up the external services required by the project locally (postgresql, rabbitmq, redis) and explains how to deploy this project on a local Kubernetes cluster (Minikube).

You can also refer to the kubernetes folder of the infra project for more details about the deployment implementation.

Setup a directory to store the RYR projects:

export RYR_PROJECT_DIR="${HOME}/projects/request-yo-racks"

Clone the project:

  mkdir -p "${RYR_PROJECT_DIR}"
  cd "${RYR_PROJECT_DIR}"
  git clone git@github.com:request-yo-racks/web.git

Prepare your development environment:

cd "${RYR_PROJECT_DIR}/web"
npm i

Local development

To serve the project locally:

npm run dev

To test the project locally (i.e. running the full list of ci-tasks):

npm run ci

The scripts section of the package.json file will show you all the available commands.