HUB
Sign inSign up

rutgerfarry/building_scraper

By rutgerfarry

•Updated almost 9 years ago

Scrapes info about Oregon State University buildings

Image
0

203

rutgerfarry/building_scraper repository overview

⁠building_scraper Build Status

Scrapes info about Oregon State University buildings, placing the data in a MongoDB database.

⁠Running the code

Ensure the API_KEY and MONGO_URL environment variables are set and run:

npm install
npm start

Alternatively, you can run the scraper in docker-compose (the API_KEY environment variable will be passed on to the container):

docker-compose up

Running in docker-compose is intended only for development purposes. To aid in development, you can access the database via the mongo shell by running:

docker-compose run db_shell

⁠Tests

Tests can be run with the standard npm test.

Tag summary
Recent tags
Content type
Image
Digest
Size
279.4 MB
Last updated
almost 9 years ago
docker pull rutgerfarry/building_scraper:latest