Corsair-Ranch / TACT

Travel Accommodations and Coordination Technology - Hack the Ranch 2023
2 stars 1 forks source link

DRAFT::Onboardeased#23 #10

Open DarkninjaD opened 1 year ago

DarkninjaD commented 1 year ago

Easing the Setup Dev Process

As a onboarding dev I found some hick-ups in the setup process so I went over and made some changes.

Problem 1

Seeding & Migrations script on the server side is to quick and would fail out before the db postgre did it's init setup and open for connections.

Problem 2

Whenever the sever side had to be restarted it would always want to seed and migrate but if the data base was already filled with data that would lead to errors.

Solution.

  1. Decouple db standing up with server thought docker-compose.
  2. Add options to start up script to run server so you can pick when to seed & migrate and when not to.
  3. Add it to README to help future on boarding devs.
DarkninjaD commented 1 year ago

Ok I'll admit I made the "Issues" on mkborland/TACT not on the Corsair-Ranch/TACT. that was on me. Copy over all the info on the issues to above commit to make it easier to follow.

DarkninjaD commented 1 year ago

fix READ conflict

DarkninjaD commented 1 year ago

clicked... wrong button.

shortf15e commented 11 months ago

Moving into DRAFT since there were some major modifications done when adding Key Cloak. Keep this in DRAFT for now so that we can review and add again since there are some good changes for the loading/seeding of data