Skip to content

CSYE-6225-hemanthnvd/webapp

Repository files navigation

CSYE 6225 WEBAPP

Installation

Install dependencies:

$ npm install

Start the server:

$ npm start

Start the development server:

$ npm run dev

Testing the api endpoints

Testing using Jest and supertest:

$ npm test

Packer commands

Download Packer plugin binaries:

$ cd packer
$ packer init build.pkr.hcl

Format HCL2 configuration files to canonical format and style:

$ cd packer
$ packer fmt .

Validate the syntax and configuration:

$ cd packer
$ packer validate .

Building the packer custom image

Create a values.pkrvars.hcl file and include this key value pair credentials_file = "C:/Users/user/Downloads/nameofgcpcredentialfile.json"

Build the packer custom image:

$ cd packer
$ packer build -var-file=values.pkrvars.hcl build.pkr.hcl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published