Deploy Foundation with ZEIT Now

Create a Foundation app and deploy it live with ZEIT Now.

Foundation is a family of responsive front-end frameworks that make it easy to design beautiful responsive websites, apps and emails that look amazing on any device.

Step 1: Set Up Your Foundation Project

Set up a Foundation app with npx and move into the project directory, choosing the option A web app and providing a project name of my-foundation-app:

npx foundation new && cd my-foundation-app

Initializing a Foundation app with npx and moving into the project directory.

In the ./my-foundation-app/config.yml file, under the PATHS object, change the output directory for the project to public:

-   "dist": "dist"
+   "dist": "public"

Changing the output directory in the /my-foundation-app/config.yml file.

Step 2: Deploying Your Foundation App with ZEIT Now

With a Foundation app set up, it is ready to deploy live with ZEIT Now.

Using Now CLI, deploy your app with a single command:


Deploying your Foundation app with Now CLI.

If you want to deploy your Foundation app when you push to a Git repository, you can use either ZEIT Now for GitHub, ZEIT Now for GitLab, or ZEIT Now for Bitbucket to have your project automatically deployed on every push, and the production domain updated on push to master.

Written By
Written by msweeneydevmsweeneydev
on December 2nd 2019