Starting new Gatsby project with Flotiq CLI¶
To start a new Gatsby or nextJs 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 [projectName] [flotiqStarterUrl] [flotiqApiKey]
After running the command, you should have a new project cloned with installed dependencies, data imported to your Flotiq account and started server with the project.
Parameters¶
projectName
- project name or project path (if you wish to start or import data from the current directory - use .
)
flotiqStarterUrl
- full link to GatsbyJs or nextJs starter, the list below
flotiqApiKey
- API key to your Flotiq account
Gatsby Starters¶
You can choose one of our starters:
- Recipe website Gatsby starter-1 - to use this starter use:
https://github.com/flotiq/flotiq-gatsby-recipe-1
as theflotiqStarterUrl
- Recipe website Gatsby starter-2 - to use this starter use:
https://github.com/flotiq/flotiq-gatsby-recipe-2
as theflotiqStarterUrl
- Event calendar Gatsby starter-1 - to use this starter use:
https://github.com/flotiq/flotiq-gatsby-event-1
as theflotiqStarterUrl
- Event calendar Gatsby starter-2 - to use this starter use:
https://github.com/flotiq/flotiq-gatsby-event-2
as theflotiqStarterUrl
- Project portfolio Gatsby starter-1 - to use this starter use:
https://github.com/flotiq/flotiq-gatsby-portfolio-1
as theflotiqStarterUrl
- Project portfolio Gatsby starter-2 - to use this starter use:
https://github.com/flotiq/flotiq-gatsby-portfolio-2
as theflotiqStarterUrl
- Simple blog Gatsby starter-1 - to use this starter use:
https://github.com/flotiq/flotiq-gatsby-blog-1
as theflotiqStarterUrl
- Simple blog Gatsby starter-2 - to use this starter use:
https://github.com/flotiq/flotiq-gatsby-blog-2
as theflotiqStarterUrl
- Gatsby and Snipcart boilerplate, sourcing products from Flotiq-1 - to use this starter use:
https://github.com/flotiq/flotiq-gatsby-shop-1
as theflotiqStarterUrl
- Gatsby and Snipcart boilerplate, sourcing products from Flotiq-2 - to use this starter use:
https://github.com/flotiq/flotiq-gatsby-shop-2
as theflotiqStarterUrl
NextJs Starters¶
- Recipe website NextJs starter-2 - to use this starter use:
https://github.com/flotiq/flotiq-nextjs-recipe-2
as theflotiqStarterUrl
- Event calendar NextJs starter-2 - to use this starter use:
https://github.com/flotiq/flotiq-nextjs-event-2
as theflotiqStarterUrl
- Project portfolio NextJs starter-2 - to use this starter use:
https://github.com/flotiq/flotiq-nextjs-portfolio-2
as theflotiqStarterUrl
- Simple blog NextJs starter-1 - to use this starter use:
https://github.com/flotiq/flotiq-nextjs-blog-1
as theflotiqStarterUrl
- NextJs and Snipcart boilerplate, sourcing products from Flotiq-2 - to use this starter use:
https://github.com/flotiq/flotiq-nextjs-shop-2
as theflotiqStarterUrl
Last update:
September 13, 2023