after cloning this repo run:
yarn
or
npm install
You'll need to cd into the server/ folder and from there run server.js using node.
easier way is to use a tool such as nodemon to run it for you.
As you will need to configure several environment params it is best to create a sh file to run with:
#!/usr/bin/env bash
CLD_USER="" CLD_CLOUD="" CLD_KEY="" CLD_SECRET="" DEBUG="smocker" nodemon server.js
Configure the following params:
- CLD_USER - the email address of your admin cloudinary user
- CLD_CLOUD - your cloud name
- CLD_KEY - the API key (retrieve from cloudinary.com/console)
- CLD_SECRET - the API secret (retrieve from cloudinary.com/console)
from the root of this project run:
yarn start
or
npm run start