Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (22 sloc) 1.44 KB

Deployment

To deploy a Gridsome site you need a static site host.

Git-based deploying

The best practice when working with Gridsome sites is to have your project hosted on a Git-service like GitHub and connect a deploy service that builds your site from a selected repository. Netlify is the best solution for this now. They also have free plan for static website hosting. Its also possible to setup auto re-deploys if repository or content changes.

These services are great for Git-based deploying:

Deploy from terminal

Many services let you deploy your static Gridsome site from the terminal. Here are some:

FTP deploying

To host your site on traditional hosting via FTP you need to manually build your project from the Terminal.

  • Run gridsome build in your project folder.
  • This will generate a dist folder where your generated site is located.
  • Upload the content of this folder to any FTP to get started.

Drag & drop deploying

Netlify Drop let you deploy a website with simply drag & drop.

  • Run gridsome build in your project folder.
  • This will generate a dist folder where your generated site is located.
  • Visit Netlify Drop and drop the dist folder there.