szimek / sharedrop

Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
https://www.sharedrop.io
MIT License
9.94k stars 725 forks source link

Could you please write the documentation for development clearly. #95

Closed prasadbobby closed 3 years ago

prasadbobby commented 3 years ago

I'm a beginner and student. Could you please try to write the documentation for development clearly. What was the secret key at .env file. There is no documentation for that. Annotation 2020-10-17 011845

image πŸ‘†πŸ‘†πŸ‘†πŸ‘†This is the error.

szimek commented 3 years ago

Hi!

SECRET can be any random string and is used for generating room name based on public IP address and cookie session (though I don't see session really used anywhere, so cookieSession most likely could be removed).

Does it work when you run yarn develop?

prasadbobby commented 3 years ago

Noo Sir.. Please specify the whole documentation on it or send me through email.

On Sat, Oct 17, 2020 at 2:12 AM Szymon Nowak notifications@github.com wrote:

Hi! Does it work when you run yarn develop?

β€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cowbell/sharedrop/issues/95#issuecomment-710594330, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANS6GNS4W2PRQBHI4H3QEGTSLCV2RANCNFSM4STYIY7A .

szimek commented 3 years ago

There is a documentation for running it locally already: https://github.com/cowbell/sharedrop#how-to-set-it-up-for-local-development Make sure that the Firebase related environment variables are set correctly.

Also, I've never tried running this project on Windows, so there might be some Windows specific bugs there. If you think everything is set up correctly, but it still doesn't work, you could try to run it on some Linux system, e.g. using Docker.

prasadbobby commented 3 years ago

yeah that's not an issue with windows i think. i have firebase related doubts. What was the line no:2,5 and 6 Annotation 2020-10-17 011845

szimek commented 3 years ago

I'm using something that Google calls "Legacy credentials", so it might not be possible to create these anymore.

Unfortunately, I don't really have time now to look into what would be needed to update Firebase to a more recent version :/ If anyone wants to do PR, they are very, very welcome.