JamesRobertSutcliffe / personality-music-recommender

A music recommender web app that bases reccomendations on personality type. Developed with next.js, Typescript, PostgreSQL and docker.
https://personality-music-recommender-jer1.vercel.app/
0 stars 0 forks source link

Set up local PostgresSQL database #22

Closed patdel0 closed 1 year ago

patdel0 commented 1 year ago

This PR establishes the groundwork for upcoming changes concerning the database and development environment.

The changes ensure all necessary dependencies are incorporated into the project to enable the usage of a local database for testing purposes. Additionally, it makes use of shell scripting to automate development tasks associated with initialising and configuring the project.

Testing

  1. Ensure you have Docker installed
  2. Run npm i to install the dependencies
  3. Run the ./scripts/setup.sh command
  4. Run the ./scripts/server.sh command
  5. On a separate terminal instance, enter the npm run test command
  6. Confirm you were able to do all of the above without issues
Related issues Closes #15 Closes #16 Closes #21 Closes #23 Closes #24 Closes #25
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
personality-music-recommender ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 8:39pm
personality-music-recommender-jer1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 8:39pm
JamesRobertSutcliffe commented 1 year ago

Shall I go ahead and merge?

JamesRobertSutcliffe commented 1 year ago

I just ran these tests again after pulling changes. Tests are still failing with the same error message.

JamesRobertSutcliffe commented 1 year ago

Test now passed after restarting docker.