UBCSailbot / sailbot_workspace

UBC Sailbot's monorepo
https://ubcsailbot.github.io/sailbot_workspace/main/
Apache License 2.0
4 stars 1 forks source link

Integrate website into tests #235

Closed patrick-5546 closed 6 months ago

patrick-5546 commented 7 months ago

Description

To integrate the website into our tests, we will be enforcing these conventions:

image

This PR enables the website container to run by default in the dev container and in our CI.

To Do

Verification

SPDonaghy commented 7 months ago

Verification

@patrick-5546 @jahn18 Is the idea that running the test task should also populate some data at http://localhost:3005/api/gps ?

I have a successful connection to the url when I run the test task, but there is no data.

patrick-5546 commented 7 months ago

@patrick-5546 @jahn18 Is the idea that running the test task should also populate some data at http://localhost:3005/api/gps ?

Yes once the to do's in the PR description is complete. That's why I created this PR as a draft (not ready for review)

patrick-5546 commented 6 months ago

Decided to change the common database name from db to sailbot_db to avoid confusion

patrick-5546 commented 6 months ago

@jahn18 can you switch the website to read from sailbot_db by default? I think this would require updating the .env.local file right? Would this cause any problems with running your own tests?