karas-coffee icon indicating copy to clipboard operation
karas-coffee copied to clipboard

[docs]: Improve the "local development" instructions

Open gregfenton opened this issue 2 years ago • 2 comments

It would be helpful for newcomers to have a bit more description and guidance in the form of a step-by-step set of instructions to getting this project up and running. Something akin to:

  1. Clone the repo: git clone https://github.com/FirebaseExtended/karas-coffee
  2. Go to the project directory: cd karas-coffee
  3. Start the local development system: yarn dev << this starts the app in the "website" directory
  4. . . .

What isn't currently clear, especially for newcomers, is the distinction between "local dev" and "deploy hosting" and "importing data into Stripe", etc. Unless the audience is experienced with all of these techs (React, Stripe, Firebase Hosting, Firebase Auth, etc...), there is little chance they'll know what to do.

Even as someone experienced with all of these techs, I personally find myself looking through package.json files and hunting around for "firebaseConfig" in the code to figure out what is actually happening.

Some very light-weight guidance such as above would go a long way to making this project more accessible to developers of varying levels of experience.

gregfenton avatar May 21 '23 17:05 gregfenton

@gregfenton You are absolut right. I am new in the Firebase Univers and I could not launch the application. 'yarn dev' just doesn't worked for me. There are a few necessary steps before you can execute this command. I also do not know if I have to replace the Firebase key on mine or not. So I wanted also write an Issue for a more detailed description. That would be really useful because the app is just awesome.

RolandTomoskozi avatar May 22 '23 12:05 RolandTomoskozi

@RolandTomoskozi if you have a issue that you can reproduce, I recommend that you open an issue and provide:

  • STEPS for the reproducible (similar simple steps to what I put in the original post here)
  • EXPECTED outcome
  • ACTUAL outcome (including any relevant error messages or stack traces, etc.)

gregfenton avatar May 22 '23 12:05 gregfenton