Skip to content

communitiesuk/epb-prototypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Energy Performance of Buildings Register - Prototypes

This is where we store our prototypes.

Getting Started

Clone the repository:

$ git clone git@github.com:communitiesuk/epb-prototypes.git

Change directory to epb-prototypes:

$ cd epb-prototypes

Running the app in Docker

  • Build the image
    docker build -t epb-prototypes ./

  • Run the container docker run -d -p 80:80 --name epb-prototypes-web- epb-prototypes

  • Run in password protected mode docker run -d -p 80:80 -e NODE_ENV=production -e USE_HTTPS=false -e PASSWORD=test --name epb-prototypes-web epb-prototypes

  • Go to localhost in your browser

  • Go to localhost/get-energy-certificate-data in your browser to get to get-energy-certificate-data service

Dependencies

Install natively

Install the Node.js modules:

$ npm i

Start

Start the local server:

$ npm run dev
  • Go to localhost in your browser
    • Note: Some systems might have a service already listening on port 80. Simply read the console output from npm start to identify your port.
  • Go to localhost/get-energy-certificate-data in your browser to get to get-energy-certificate-data service

Resources

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published