Hi everyone,
First of all, congratulations for what you are building, I don’t have enough words to praise it !!
Unfortunately, I am slightly lost with the hooking up to S3 for direct uploads part.
I’ve read the docs extensively but am still not sure how to go about it all, I’ve only got less than a year’s coding experience under the belt too, sorry!
My app is on Ruby on Rails with Webpack for the build, I’ve managed to integrate the Dashboard on my page but setting up companion is harder for me.
I’m not sure whether to go for an the option to plugin to an existing server (you use express, can I customize this to my app or do I need to install express etc?).
Setting up my own server I see I have to create environment variables, which I know how to do, but then you talk about express.js again or using the implicit path to where companion lives (/node_modules/@uppy/companion-client ?).
I’m unclear as to what value I should give to these, due to lack of server knowledge I imagine:
any long set of random characters for the server session
export COMPANION_SECRET=“shh!Issa Secret!” -> A value I define myself, correct?
corresponds to the server.host option
export COMPANION_DOMAIN=“YOUR SERVER DOMAIN” -> http://localhost:3000 ?
corresponds to the filePath option
export COMPANION_DATADIR=“PATH/TO/DOWNLOAD/DIRECTORY” -> ??
How will this then work in production, when deploying to heroku or hatchbox?
I’m building a small p2p housing platform for a crypto currency that we produce ourselves as part of a web-of-trust, small and groundbreaking french project with just 1300 members for now. More info on duniter.org
Regards from France