Gatsby powered blog. Content is stored as Markdown + Frontmatter files.
$ git clone [email protected]:top-solution/motoviaggiatori.git
$ cd motoviaggiatori
$ npm install
$ cp .env.sample .env
Edit .env
file and add fill in all the variables with correct values.
## Develop
Run npm run start
or gatsby develop
then head to http://localhost:8000
To query the data you can use GraphQL syntax on http://localhost:8000/___graphql
Run npm run build
or gatsby build
. Use gatsby serve
to test the production build.
Built files are deployed to GitHub Pages running npm run deploy
.
The website is automatically built and deployed to GitHub Pages by Travis CI on each PR pushed on master
branch.