Skip to content

ThemeMetric/infointeriors

Repository files navigation

SHWeb

Gatsby Template for - Infointeriors

Dependencies

_Before start development or deploy make sure our WordPress API plugin is installed inside your WordPress installation

Minimum Requirement to build

  1. At least one blog post with featured Image in your WordPress site
  2. One category and that category related post

Install gatsby CLI

To install gatsby CLI globaly.

npm install -g gatsby-cli

🚀 Quick start

  1. Create a Gatsby site.

    Use the Gatsby CLI to create a new site.

    # create a new Gatsby site using theme callisto
    gatsby new infointeriors https://github.com/ThemeMetric/infointeriors.git
    
  2. Create .env file.

    Navigate into your new site’s directory and create a new .env file.

    cd infointeriors/
    touch env/.env.infointeriors
    

    Open .env.mysitename file with a text editor and add below config inside .env.mysitename file.

    baseUrl = "yoursite.com" # without http/https
    protocol = "https"
    disqusShortname = "shweb"
    GATSBY_BUILD_DIR = "infointeriors"
  3. Start developing.

    To start development process run below command from your terminal.

    gatsby develop infointeriors
    or
    npm start infointeriors
    
  4. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

  1. Build Process.

    To build your site run bellow command from your terminal.
    
    ```infointeriors
    npm run clean
    gatsby build infointeriors
    ```
    

// added fb tag

About

WordPress Headless cms template

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published