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 the Strapi version of Rewy then please jump to 2.

Static Version

1. Open 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
  • 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.

Strapi Dynamic Version

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

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

3. config/database.js and update your credentials.

4. npm install

5. npm run develop

6. Go To localhost:1337

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

8. Done

Strapi Frontend Version

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

  1. npm install
  2. npm run develop
  3. Go To localhost:8000
  4. Done

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

Was this article helpful to you? Yes No 1

How can we help?