From f7b991577e346e08ede0d8a2accbaaa6a4b440ad Mon Sep 17 00:00:00 2001 From: Buwei Chen <59496117+BuweiChen@users.noreply.github.com> Date: Sun, 25 Feb 2024 16:24:20 -0500 Subject: [PATCH 1/2] Add testing demo --- .github/workflows/github-actions-demo.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/github-actions-demo.yml diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml new file mode 100644 index 000000000..e5bb16153 --- /dev/null +++ b/.github/workflows/github-actions-demo.yml @@ -0,0 +1,18 @@ +name: GitHub Actions Demo +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +on: [push] +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file From 656db7e3e7a77be04562c14b0060cab8e991c951 Mon Sep 17 00:00:00 2001 From: Buwei Chen <59496117+BuweiChen@users.noreply.github.com> Date: Sun, 25 Feb 2024 16:49:05 -0500 Subject: [PATCH 2/2] Update MongoDB key [internal: see notion page] --- backend/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app.py b/backend/app.py index 4625fafa6..0f1548ed9 100644 --- a/backend/app.py +++ b/backend/app.py @@ -6,7 +6,7 @@ from pymongo.mongo_client import MongoClient -uri = "mongodb+srv://dbUser:@cluster0.blvdnja.mongodb.net/?retryWrites=true&w=majority" +uri = "mongodb+srv://bluebookairoot:@bluebookcluster.0hf4pzi.mongodb.net/?retryWrites=true&w=majority&appName=BluebookCluster" # connect to the MongoDB cluster client = MongoClient(uri)