Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 879 Bytes

README.md

File metadata and controls

50 lines (38 loc) · 879 Bytes

Metro Futures 2020 Consultation

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Vercel dev

The API is designed to be run as Vercel Serverless Functions, which will work when deployed to Vercel. They can be configured for local dev:

npm i -g vercel

It will require linking to Github, and to the Vercel account.

To run the development environment (hosting the API):

vercel dev

To get the .env variables, pull them from Vercel

vercel env pull

Docker archive

docker build -t ghcr.io/digitalinteraction/metrofutures2020:archive-03 --platform=linux/arm64,linux/amd64 .