SharmaMitchell / ZenDecks

Next-gen Flashcards. Web-based spaced repetition system, built with React, TypeScript, and Firebase.
https://zendecks.app/
Other
3 stars 0 forks source link

Selfhosting? #4

Open shahram7 opened 9 months ago

shahram7 commented 9 months ago

Hi Sharma, is it possible to run ZenDecks as a selfhosted app? Best Regards, Shahram

SharmaMitchell commented 9 months ago

Hi Shahram, The license allows non-commercial use, so if you just want to self-host for your own usage (not for-profit), go ahead! if you choose to deploy publicly, please change the name to something else to avoid confusion with my official ZenDecks.app deployment.

You will need to create your own Firebase setup for auth (or remove the auth logic if you're just using it yourself). You will also need to create your own Firestore database through Firebase, and then set up the env variables referenced in my code to point to your corresponding Firebase variables.

The Firebase free tier will cover both of these (although data is a bit limited, it should be enough for personal use).

To quickly look for which env variables you will need, you can search through the codebase locally for process.env.. Then just create your own .env file in the root of the project and define the env variables there.

Hope that answers your question, good luck getting set up! :)