diff --git a/docs/how-to-setup-freecodecamp-locally.md b/docs/how-to-setup-freecodecamp-locally.md index e8ace78f47..21a34c76de 100644 --- a/docs/how-to-setup-freecodecamp-locally.md +++ b/docs/how-to-setup-freecodecamp-locally.md @@ -140,14 +140,7 @@ Please avoid creating GitHub issues for pre-requisite issues. They are out of th ### Installing dependencies -Start by installing the dependencies required for the application to startup. - -```shell -# Install NPM dependencies -npm install -``` - -Then you need to add the private environment variables (API Keys): +First you need to add the private environment variables (API Keys): ```shell # Create a copy of the "sample.env" and name it as ".env". @@ -160,6 +153,13 @@ cp sample.env .env copy sample.env .env ``` +Then you have to install the dependencies required for the application to startup. + +```shell +# Install NPM dependencies +npm install +``` + The keys are not required to be changed, to run the app locally. You can leave the default values from the `sample.env` as it is. `MONGOHQ_URL` is the most important one. Unless you have MongoDB running in a setup different than the defaults, the URL in the `sample.env` should work fine.