Skip to content

Latest commit

 

History

History
102 lines (64 loc) · 2.84 KB

README.md

File metadata and controls

102 lines (64 loc) · 2.84 KB

andreduvoisin-web

Andre Duvoisin's Blog and Portfolio

andreduvoisin.com

Written with GatsbyJS and deployed to Vercel.

Local Development

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

Adding Your First Blog

  • Search TODO: BLOG and follow the instructions.
  • Remove default content/blog/* blogs.
  • Verify Disqus settings and clear out test comments on test blogs.

Vercel

Installing Vercel

https://vercel.com/docs

Deploying

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

Other Commands

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

Relevant Links

Vercel: https://vercel.com

Disqus: https://andreduvoisin.disqus.com

Google Analytics: https://analytics.google.com

Email Forwarding: https://forwardemail.net

Known Issues