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
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
Navigate into your new site’s directory and create a new
cd titan/ touch env/.env.mysitename
.env.mysitenamefile with a text editor and add below config inside
baseUrl = "yoursite.com" # without http/https protocol = "https"
Start developing. To start development process run below command from your terminal.
gatsby develop mysitename or npm start mysitename
Open the source code and start editing!
Your site is now running at
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.
To build your site run bellow command from your terminal
npm run clean gatsby build mysitename