Correct order of FCC local setup (#34410)
This commit is contained in:
committed by
mrugesh mohapatra
parent
ffca835231
commit
a94ee3d5b8
@ -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.
|
||||
|
Reference in New Issue
Block a user