Skip to content

Commit

Permalink
Merge pull request #45 from gadhagod/mongo-migration
Browse files Browse the repository at this point in the history
Migrate from Rockset to MongoDB Atlas
  • Loading branch information
gadhagod authored Sep 30, 2024
2 parents 7595ffa + 58e678d commit 79d2735
Show file tree
Hide file tree
Showing 443 changed files with 459 additions and 14,595 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/load-data.yml

This file was deleted.

10 changes: 8 additions & 2 deletions .github/workflows/local-api-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,20 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.11.9'
cache: pip
- name: Install app requirements
run: pip install -r requirements.txt
- name: Clone v2-src
run: git clone https://github.com/gadhagod/Hyrule-Compendium-API -b v2-src v2
- name: Start server
run: python3 -c "from server import app; app.run()" ${{ secrets.RS2_TOKEN }} &
run: python3 -c "from server import app; app.run()" &
env:
MONGO_PASSWORD: ${{ secrets.MONGO_PASSWORD }}
MONGO_USERNAME: ${{ secrets.MONGO_USERNAME }}
RS2_TOKEN: ${{ secrets.RS2_TOKEN }}
RS2_SERVER: ${{ secrets.RS2_SERVER }}

- name: Install test dependencies
run: |
cd tests
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Here is an example request and response, retrieving data on the white-maned lyne
"lynel hoof",
"lynel guts"
],
"image": "https://botw-compendium.herokuapp.com/api/v2/entry/white-maned_lynel/image"
"image": "https://botw-compendium.herokuapp.com/api/v3/entry/white-maned_lynel/image"
}
}

Expand Down
Loading

0 comments on commit 79d2735

Please sign in to comment.