Skip to content

Commit

Permalink
updating webscraper instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Aug 26, 2023
1 parent 728cd69 commit 6553346
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
20 changes: 20 additions & 0 deletions website/docs/updating_webscraper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Updating Webscraper
description: Webscraper Tutorial Info that Pertains to Updating Webscraper
---

:::info

- **Recurring Task**: Extra steps for deploying changes to webscraper detailed below
- **Frequency**: Every time you need to update the webscraper
:::

## Updating Webscraper

- This refers to what's in the automated-jobs repo only
- **Webscraper and energy dashboard backend changes can be handled separately**, e.g. if you update the energy-dashboard backend you don't have to update the webscraper, and vice versa
- **On initial setup of the webscraper, you need to set up ECS, but if you are just updating the webscraper later, you only need to update ECR**
- Go to AWS Console > ECR > View Push Commands
- Follow push commands in CLI
- Note, as also explained in linked article below, that your operating system (Windows vs Linux etc.) can affect the AWS CLI login command syntax
- [See here](webscraper_tutorial#testing-pipeline-guide) for more detailed info
12 changes: 10 additions & 2 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const sidebars = {
slug: 'specific',
},

items: ['webscraper_tutorial', 'kiosks', `lambda_common_layer`, `carbon_calculator`, `energy_dashboard_graphs`],
items: ['webscraper_tutorial', `energy_dashboard_graphs`, `lambda_common_layer`, `carbon_calculator`, 'kiosks'],
},
{
type: 'category',
Expand All @@ -48,7 +48,15 @@ const sidebars = {
slug: 'tasks',
},

items: ['cloudwatch', 'openssl', `adding_meters_buildings`, `kilowatt_crackdown`, `node_upgrade`, `git`],
items: [
`git`,
'cloudwatch',
`adding_meters_buildings`,
`kilowatt_crackdown`,
'openssl',
`updating_webscraper`,
`node_upgrade`,
],
},
],
};
Expand Down

0 comments on commit 6553346

Please sign in to comment.