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 the 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

Frontend Version

3. Open the 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.

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

Was this article helpful to you? Yes No 1

How can we help?