1. Home
  2. Docs
  3. Rewy Gatsby
  4. Installation On Local

Installation On Local

Before starting this please have a look at this requirements link and make sure, then go to the below.

If you decided to use Strapi version of Rewy then please jump to 2.

Static Version

1. Open the rewy-gatsby-without-strapi folder and open a terminal/bash/command on that folder and run these commands one by one.

  • npm install -g gatsby-cli
    • Use command line tool i.e. powershell or terminal and navigate to the project(Rewy) root. This is powershell in windows and terminal on mac/linux.
  • npm install --legacy-peer-deps
  • npm run develop
  • Go To localhost:8000
  • Done
  • Serve the production build locally
  • gatsby serve
  • Gatsby starts a local HTML server for testing your built site.

Dynamic Version

1. Open the rewy-gatsby-with-api/rewy-api and update the config/plugin.js file as the cloudinary credentials.

2. config/database.js and update as your credentials.

3. Create database as named rewy-api and restore the rewy-api-data from downloaded bundle.

4. npm install --legacy-peer-deps

5. npm run develop

6. Go To localhost:1337

7. Login by the credential Email: [email protected] Password: EnvyTheme1

8. Done

Still, confused? Don’t worry! See this below Video Tutorial.

Here are Video Tutorial, we have done exactly same thing for other Strapi project, just follow the consepts.

Was this article helpful to you? Yes No

How can we help?