Giter Site home page Giter Site logo

Comments (10)

Bouncey avatar Bouncey commented on July 18, 2024 2

@texas2010 Thanks for raising an issue, yes the instructions need to be updated.

@absolitudo gatsby is installed as a dependency of this project, the gatsby develop and gatsby build commands have been mapped to yarn develop and yarn build so there is no need for a global anything.

If I have missed something, please open a separate issue for discussion.

from learn.

Bouncey avatar Bouncey commented on July 18, 2024 1

It is yours @ekaoddlass 👍

from learn.

SMM-dev avatar SMM-dev commented on July 18, 2024 1

@ekaoddlass Grats on the first PR/merge 😃
There was an extra word "branch" in your changes so I modified the file a bit more.
As for the sample.env file, I got an error the first time I tried 'cp sample.env .env' but was able to run the build anyway...

So it's definitely possible to run without it (from what I'm seeing so far), BUT when I tried the cp command again to reproduce the error, the .env file copied successfully... so I can't confirm 100% that the step is extra.

from learn.

texas2010 avatar texas2010 commented on July 18, 2024

I think the first-timers can do this. I am sure this is simple to fix.

from learn.

akoskoc avatar akoskoc commented on July 18, 2024

I think it's worth mentioning here that some of the commands require gatsby to be globally installed, which is not included in the instructions either.

from learn.

Bouncey avatar Bouncey commented on July 18, 2024

The development steps need to be updated to include the step

cp sample.env .env

And edit the 'create a branch' step to

git checkout -b <your-branch-name>

👍

from learn.

tchaffee avatar tchaffee commented on July 18, 2024

Can confirm yarn develop works for me without installing gatsby global. In fact, I still haven't even installed yarn globally so I'm running it using $(npm bin)/yarn develop.

from learn.

ekafyi avatar ekafyi commented on July 18, 2024

Hi, I would like to try and work on this issue please. How do I claim it?

from learn.

ekafyi avatar ekafyi commented on July 18, 2024

PR submitted and merged -- this was my first PR!

Out of curiosity though, I did not copy the sample.env file (ran ls and confirmed my local clone does not have .env file) but I could run yarn develop without problem. Does it depend on your machine's global setting whether you need .env or not?

from learn.

Bouncey avatar Bouncey commented on July 18, 2024

Closed via #70

from learn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.