/epb-prototypes

Primary LanguageHTMLMIT LicenseMIT

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

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.

Resources