hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
66 stars 41 forks source link

Discourse Import Command #7124

Open zakhap opened 5 months ago

zakhap commented 5 months ago

Description

How the sausage gets made:

Project Owner

@zakhap

Acceptance Criteria

Additional context

Inputs required for this script should come from #7123.

rbennettcw commented 4 months ago

Status update:

rbennettcw commented 1 month ago

@jnaviask We need to use the psql binary to import sql files because the dump files contain syntax that’s only supported by the binary psql client (not a JS client). And the only way to access the psql binary in Heroku is via buildpacks– basically Heroku’s version of Docker.

jnaviask commented 1 month ago

@rbennettcw that's interesting -- when i do heroku run bash I can access the psql binary (/usr/bin/psql). Is the app itself running in a different env somehow?

rbennettcw commented 3 weeks ago

Bumping to 8 since the staleness of the branch broke types, imports and models. Fixing some logic that broke due to the profile model changes.