Welcome to the development repository for the resource types website. Here you can find the source code for the website as well as different options for packaging. The website is currently linked from the Concourse docs website (resource types tab) and it is a standalone website.
resource-types
directory as the persistence of the website. To fetch the contents of the resource-types
directory, run:git submodule init
git submodule update
There are multiple ways to run the code locally:
PORT
to select its port or else it will use port 9090
.
cd warehouse/web
yarn install && yarn build
cd ..
go run ./main.go
docker build -t dutyfree
docker run dutyfree -p 9090:9090
docker-compose up --build
that will build the image locally and run the website on port 9090
.http://localhost:9090
.resource-types
, this would allow running different versions of the website.To test the back-end server:
cd warehouse
go install github.com/onsi/ginkgo/ginkgo
ginkgo -r -keepGoing .
To test the front-end code: cd warehouse && yarn install && yarn test
.