Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(data-ingestion): Transfer needs assessment data from Gatsby to Strapi #66

Draft
wants to merge 36 commits into
base: saga
Choose a base branch
from

Conversation

ll-zerr
Copy link
Contributor

@ll-zerr ll-zerr commented Jun 18, 2024

Resolves #48

  • Processed existing data to align with Strapi models.
  • Populated the Strapi collections that exist as a "relation" field type for the NeedsAssessment.Need collection.
  • Populated the NeedsAssessment.Need collection.

@jtfairbank
Copy link
Collaborator

@ll-zerr figured out how to fix the "module" conflict:

  1. take "type": "module" out of the main package.json file
  2. create a new src/scripts/package.json file with the following in it:
{
  "type": "module"
}

now you can run the server and the scripts at the same time!

@jtfairbank jtfairbank force-pushed the feat/48/experiment/data-upload branch from 5c34623 to 8af9bba Compare July 25, 2024 22:22
@jtfairbank jtfairbank force-pushed the feat/48/experiment/data-upload branch from 8af9bba to 1234f24 Compare July 25, 2024 23:23
@jtfairbank
Copy link
Collaborator

hey @ll-zerr it looks like we have to make the Strapi port public on gitpod in order to query api endpoints from the commandline! I've setup the .gitpod.yml file to do that automatically so you should be good to go here.

I also tried turning the Strapi URL into an environmental variable set by gitpod, but that's not working. So run export STRAPI_URL=$(gp url 1337) on the commandline when you open up gitpod for now to set it. This way your individual workspace url isn't hardcoded into the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat(data-ingestion): Transfer needs assessment data from Gatsby to Strapi
2 participants