Starting new Gatsby project with Flotiq CLI¶
To start a new Gatsby project with Flotiq CLI you need a Flotiq account (you can register here) and your "Read and write API key" (more about API keys here).
The command looks like this:
flotiq start [flotiqApiKey] [projectName] [flotiqStarterUrl]
After running the command, you should have new project cloned with installed dependencies, data imported to your Flotiq account and started server with the project.
Parameters¶
flotiqApiKey
- API key to your Flotiq account
projectName
- project name or project path (if you wish to start or import data from current directory - use .
)
flotiqStarterUrl
- full link to GatsbyJs starter, the list below
Gatsby Starters¶
You can choose one of our starters:
- Recipe website Gatsby starter - to use this starter use:
https://github.com/flotiq/gatsby-starter-recipes
as theflotiqStarterUrl
- Event calendar Gatsby starter - to use this starter use:
https://github.com/flotiq/gatsby-starter-event-calendar
as theflotiqStarterUrl
- Project portfolio Gatsby starter - to use this starter use:
https://github.com/flotiq/gatsby-starter-projects
as theflotiqStarterUrl
- Simple blog Gatsby starter - to use this starter use:
https://github.com/flotiq/gatsby-starter-blog
as theflotiqStarterUrl
- Gatsby and Snipcart boilerplate, sourcing products from Flotiq - to use this starter use:
https://github.com/flotiq/gatsby-starter-products
as theflotiqStarterUrl
- Gatsby and Snipcart boilerplate, e-commerce and Flotiq, products with categories - to use this starter use:
https://github.com/flotiq/gatsby-starter-products-with-categories
as theflotiqStarterUrl
Last update: July 27, 2020