There are several ways to deploy a site to your web host:
Traditional web hosting providers lets you upload files to their servers using FTP protocol.
Once you've generated your site at ./build
folder running spress site:build
command you
can upload the content of that folder to your hosting provider using a FTP application like
Cyberduck available for Mac OS and Windows. For *nix case, you can
use Duck CLI.
rsync is a widely-used utility to keep copies of a file on two computer systems the same.
Once you have generated your site at ./build
folder, run the following command to synchronize
your generated site with the httpdocs
folder at your web host:
rsync -avze 'ssh -p 999' build/ youruser@yoursite.com:httpdocs
Github is a repository hosting service that offers a simple hosting for personal and project sites. See the instruction of Github pages for more information about how to publish a site.
OpenShift is a cloud computing platform as a service from Red Hat. We have prepared a Cartridge for running a static site or blog in your OpenShift Gear. More information about how to use the Spress Cartridge. Notice that version used by the Cartridge is 1.1.0. We are working on a new version with Spress 2.x.