Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleaned up env.js #1080

Merged
merged 11 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,26 @@

Changes to adapters will be documented in this file.

## 11/26/2024
## 02/14/2024
### Removed deprecated adapters
- agaar_mn.js
- airnow-ftp.js
- eea.js
## 02/13/2024
### Removed unused files
- docker-compose.yml
- index.adapter.sh
- index.sh
- accra.js
- arpae-locations.js
- arpae-parameters.js
- arpalazio.js
- defra-locations.js
- israel.js
- moscow-locations.js
- ards-bay.js

## 11/26/2023
### Removed eslint
- Removed eslint from package.json
- Removed .eslintrc
Expand Down
69 changes: 0 additions & 69 deletions Dockerfile

This file was deleted.

9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the main data ingest pipeline for the [OpenAQ](https://openaq.org) proje

Starting with `index.js`, there is an ingest mechanism to gather global air quality measurements from a variety of sources. This is currently run every 10 minutes and saves all unique measurements to a database.

[openaq-api](https://github.com/openaq/openaq-api) powers the API and more information on the data format can be found in [openaq-data-format](https://github.com/openaq/openaq-data-format).
[openaq-api-v2](https://github.com/openaq/openaq-api-v2) powers the API and more information on the data format can be found in [openaq-data-format](https://github.com/openaq/openaq-data-format).

For more info see the [OpenAQ-Fetch documentation index](docs/index.md).

Expand All @@ -24,18 +24,11 @@ Now you can get started with:

`node index.js --help`

For a full development quick start (with database setup etc.), please see the [dev-quick-start doc](docs/dev-quick-start.md).

For production deployment, you will need to have certain environment variables set as in the table below

| Name | Description | Default |
|---|---|---|
| SENDGRID_PASSWORD | Email service password | not set |
| SENDGRID_USERNAME | Email service username | not set |
| API_URL | URL of openaq-api | http://localhost:3004/v1/webhooks |
| WEBHOOK_KEY | Secret key to interact with openaq-api | '123' |
| AIRNOW_FTP_USER | User for AirNow FTP | not set |
| AIRNOW_FTP_PASSWORD | Password for AirNow FTP | not set |
| EEA_TOKEN | API token for EEA API | not set |
| DATA_GOV_IN_TOKEN | API token for data.gov.in | not set |
| EPA_VICTORIA_TOKEN | API token for portal.api.epa.vic.gov.au | not set |
Expand Down
54 changes: 0 additions & 54 deletions data_scripts/accra.js

This file was deleted.

33 changes: 0 additions & 33 deletions data_scripts/arpae-locations.js

This file was deleted.

27 changes: 0 additions & 27 deletions data_scripts/arpae-parameters.js

This file was deleted.

30 changes: 0 additions & 30 deletions data_scripts/arpalazio.js

This file was deleted.

58 changes: 0 additions & 58 deletions data_scripts/defra-locations.js

This file was deleted.

Loading
Loading