diff --git a/README.md b/README.md index af136e0..b44a8f6 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,30 @@ Try it out on your own account via this link: [![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/netlify/netlify-faunadb-example) + + +## Install + +1. Clone down the repository + + ``` + git clone + ``` + +2. Install the dependencies + + ``` + npm install + ``` + +3. Bootstrap your FaunaDB table + + ``` + npm run bootstrap + ``` + +4. Run project locally + + ``` + npm start + ``` diff --git a/package.json b/package.json index 1a8530e..17347a8 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ }, "scripts": { "start": "react-scripts start", + "bootstrap": "node ./init-faunadb.js", "buildFunctions": "netlify-lambda build functions", "build": "npm run buildFunctions && react-scripts build", "test": "react-scripts test --env=jsdom",