Requesting bike racks to the city of Austin was never that easy.
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.
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
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.