First, install now
globally on your computer
npm i -g now
Then, make sure to run the correct version of node contained in .nvmuse
.
nvm use
Finally, install the node_modules
:
npm i
As the project use Now env. variables, to startup a local server:
now dev
To deploy your branch on a preview link
now
To deploy on prod, merge with the master
branch, or
now --prod