Rewy Gatsby

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-static folder and open a terminal/bash/command on that folder and run these commands one by one.

  • npm install -g gatsby-cli
    • Use the 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-strapi/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-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.