Skip to content

BuildingEnergyTools/tools-website

Repository files navigation

Building Energy Tools Website

CI Deploy

This project was generated with the Angular CLI.

Basic Workflow

The most basic workflow to edit content is to leverage GitHub's website to create new branches, edit files, commit changes, and create pull requests. The branch structure of this repository is as follows:

Advanced Workflow

The more advanced workflow requires the installation and running of a local development server. Running the website locally is recommended for larger or structural changes. You will need to install Node and the node package manager (npm) to run the server. First install nvm or nvm for Windows, and then install Node v16.10 or later:

nvm install 16.18.0
nvm use 16.18.0
  • Mac OSX: brew install npm
  • Linux: apt install npm
  • Windows: N/A (npm is bundled with Node)

After npm is installed, go into the root directory from a clone of this repository and run the following (note that you may need to run npm install -g @angular/cli to have the Angular CLI ng be in the user's path).

npm install
ng serve

Navigate to the URL that is printed to the screen, typically http://localhost:4200/.

To manually sync the website with the S3 bucket, configure permissions for using aws cli and run.

ng build
aws s3 sync dist s3://nrel-btodatatools-web-prod-bucket

About

Data Tools Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11