This is a prototype to demonstrate a Jamstack architecture with Strapi, Gatsby and Tailwind
- Node
- Gatsby
- Yarn
- Docker
make setup
installs dependenciesmake backend
starts Strapi. It's available athttp://localhost:1337
make db-load
to load the current db dumpmake dev
to start the development server- Gastby's GraphQL Explorer runs at
http://localhost:8000/___graphql
and the page is available athttp://localhost:8000/
make build-prod
creates a production docker image of the pagemake serve-prod
serves your page atlocalhost:80
- If you change anything in Strapi's Content Builder you need to restart the Gatsby development server.
- If you change anything in the
gatsby-node.js
you need to restart the development server. - To stop the database run
make stop
in the root directory - Run
make logs
in the root directory to see Strapi's logs - Run
make db-dump
to create a new strapi db dump - Any error when running
gatsby develop
? Trygatsby clean