Skip to content
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
env
src
.gitignore
.prettierrc
LICENSE
README.md
gatsby-browser.js
gatsby-config.js
gatsby-node.js
gatsby-ssr.js
package.json

README.md

WPSpark

Gatsby Template - Titan

Before start development or deploy make sure our spark-lite WordPress plugin is installed inside your WordPress installation Download Spark Lite.

🚀 Quick start

  1. Create a Gatsby site.

    Use the Gatsby CLI to create a new site.

    # create a new Gatsby site using theme titan
    gatsby new titan https://github.com/wpspark/gatsby-theme-titan.git
  2. Create .env file.

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

    cd titan/
    touch env/.env.mysitename

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

    baseUrl = "yoursite.com" # without http/https
    protocol = "https"
  3. Start developing. To start development process run below command from your terminal.

    gatsby develop mysitename
    or 
    npm start mysitename
  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.

  5. Build Process.

    To build your site run bellow command from your terminal

    npm run clean
    gatsby build mysitename

💫 Deploy With Netlify

Deploy to Netlify

You can’t perform that action at this time.