climate-tech-handbook / data-magic

Scripts and other fun tricks to enhance the site
MIT License
10 stars 5 forks source link

Automated file sharing between data-magic and the handbook #41

Open alexmayberry opened 1 year ago

alexmayberry commented 1 year ago

We are currently manually adding md files to the climate-tech-handbook repo after they've been batch updated with the API. Also, we have to manually copy md files from the website repo into data-magic in order to perform these batch edits.

Would the solution be to combine these two projects? Or maybe hardcode a standardized file path from data-magic to climate-tech-handbook on the developer's file system?

bigolboyyo commented 1 year ago

My first few thoughts are:

The hard questions:

edit: assigned a bunch of us to get the conversation rolling

My opinion:

We have a lot of logic flushed out and aren't too far in anything. Use workers and server-less functions to run whatever embeddings and updates we need. Switch to Docasaurus to get the power of React/JSX and keep Decap.

alexmayberry commented 1 year ago

I think we should definitely deploy the app. Serverless would be awesome. We could add authentication and have the api pull/push md files directly to the repo? That would almost be a batch update extension for our CMS.

allentang9 commented 1 year ago

Yes guys, I will check it and start work.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Alex Mayberry @.> Sent: Monday, June 5, 2023 3:28:53 PM To: climate-tech-handbook/data-magic @.> Cc: Tang, Allen @.>; Assign @.> Subject: Re: [climate-tech-handbook/data-magic] Automated file sharing between data-magic and the handbook (Issue #41)

[EXTERNAL SENDER]

I think we should definitely deploy the app. Serverless would be awesome. We could add authentication and have the api pull/push md files directly to the repo? That would almost be a batch update extension for our CMS.

— Reply to this email directly, view it on GitHubhttps://github.com/climate-tech-handbook/data-magic/issues/41#issuecomment-1577430053, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A36SGZISQR7ACV6YRDREEQLXJY6QLANCNFSM6AAAAAAY3JLPDU. You are receiving this because you were assigned.Message ID: @.***>