Andre Duvoisin's Blog and Portfolio
Written with GatsbyJS and deployed to Vercel.
npm install
npm run develop
This will run the website at http://localhost:8000
. GraphiQL is located at http://localhost:8000/___graphql
.
This website started from boilerplate located at: https://github.com/gatsbyjs/gatsby-starter-blog
- Search
TODO: BLOG
and follow the instructions. - Remove default
content/blog/*
blogs. - Verify Disqus settings and clear out test comments on test blogs.
To make a preview deployment against the current codebase:
vercel
The domain that is outputted can be tested against.
To make a production deployment against the current codebase:
vercel --prod
https://vercel.com/docs/platform/deployments#vercel-cli
NOTE: By default, Vercel uses a Build cache. This may cause unexpected behavior with adding, removing, or updating static content. In order to build and deploy the project without the Build cache, add the --force
flag with Vercel CLI. For more information: https://vercel.com/docs/deployments/troubleshoot-a-build#managing-build-cache
List deployments:
vercel ls
List deployments for this project:
vercel ls andreduvoisin-web
Safely remove unused deployments (to clean up):
vercel rm andreduvoisin-web --safe
Vercel will automatically keep deployments for various reasons:
NOTE: Deployments that are not actively receiving any traffic do not generate any costs nor count towards any limits.
Deleting this deployment will prevent you from instantly reverting and might break links used in integrations, such as the ones in the pull requests of your Git provider.
List DNS Records (e.g. for Email Forwarding):
vercel dns ls andreduvoisin.com
Vercel: https://vercel.com
Disqus: https://andreduvoisin.disqus.com
Google Analytics: https://analytics.google.com
Email Forwarding: https://forwardemail.net
- ZEIT Now supports a custom 404 page for statically hosted websites in a bit of a roundabout manner, with a bug or two currently live in ZEIT's proxy. The website currently serves the 404 page properly, but with a 200 response code, as
"status": 404
innow.json
is bugged. References:- https://spectrum.chat/zeit/now/custom-404-page~1f921045-60d9-477b-b23c-1626c9fa1565
- https://spectrum.chat/zeit/now/questions-about-using-this-with-gatsby~e0dd2595-1167-46fc-88b2-26071deabfd2
- vercel/vercel#30
- https://spectrum.chat/zeit/now/allow-routes-to-fall-through~2ea83669-e526-4f63-8397-c7a0e801a49b