uoa-compsci399-s1-2024 / capstone-project-2024-s1-team-15

Team Bit by Bit - Team 15
https://www.aapc-nz.org
4 stars 0 forks source link

simplify readme for markers #371

Closed arnard76 closed 3 months ago

arnard76 commented 3 months ago

Markers don't have to setup frontend and backend separately to run the app locally so simplified the steps for them.

Also, removed duplicated sections of frontend and backend readme from the main readme. otherwise future maintainers will have to update in two places instead of one.

https://github.com/uoa-compsci399-s1-2024/capstone-project-2024-s1-team-15/blob/691c4b7a86e9206b447b5a93ef7da9df60256a6c/README.md

HuzzNZ commented 3 months ago

It's often useful to have detailed instructions in the main readme as that is the landing page of the repository.

I am for adding a simple setup option on top of the detailed setups but it's important to have both in the main readme, especially since the steps don't change often.

arnard76 commented 3 months ago

Ok sure, future maintainers will have to update both i guess...

HuzzNZ commented 3 months ago

Will be closing this PR without merging as it is preferred to run the backend & frontend separately due to logging & easier facilitation of app restarts, so a simple dev script is not needed to be presented to markers.

arnard76 commented 3 months ago

Will be closing this PR without merging as it is preferred to run the backend & frontend separately due to logging & easier facilitation of app restarts, so a simple dev script is not needed to be presented to markers.

I think it will be worse for markers having to run double the amount of commands to setup to website locally. It is not needed to show the simple dev script but it would make their lives easier as they don't really need logging or to restart the app.

Those are definitely advantages of running the backend and frontend separately but the simple dev script is an alternative, not a replacement for it as it says in the readme.

HuzzNZ commented 3 months ago

Will be closing this PR without merging as it is preferred to run the backend & frontend separately due to logging & easier facilitation of app restarts, so a simple dev script is not needed to be presented to markers.

I think it will be worse for markers having to run double the amount of commands to setup to website locally. It is not needed to show the simple dev script but it would make their lives easier as they don't really need logging or to restart the app.

Those are definitely advantages of running the backend and frontend separately but the simple dev script is an alternative, not a replacement for it as it says in the readme.

The markers 100% understand the reason to run backend & frontend separately.

arnard76 commented 3 months ago

They might understand why we should run it separately, for the reasons you mentioned. But the markers aren't developing, they probably just want to run the whole app to test it.

arnard76 commented 3 months ago

The readme requirement for project setup was this:

Instructions on how to install and setup the project (specify all dependencies).

i figured we go for the simplest option so it doesn't take as long for the markers. If for some reason, they want to run it separately e.g. to test API endpoints then can follow the note at the bottom of the setup.

HuzzNZ commented 3 months ago

The readme requirement for project setup was this:

Instructions on how to install and setup the project (specify all dependencies).

i figured we go for the simplest option so it doesn't take as long for the markers. If for some reason, they want to run it separately e.g. to test API endpoints then can follow the note at the bottom of the setup.

Why would we give them a subpar option just to "save time" for the markers? They understand how to run web apps and are likely well acquainted with running webapps in a monorepo.

Why do we even care about saving time for the markers? If this is how the app is supposed to be ran, then we should only include the proper way to run the app.

I will be updating the README in cleanup to include more information, but this PR will not be merged.