@tiborudvari/now-builder

1.2.2 • Public • Published

Frontity - Now builder

Use this builder to deploy a Frontity project in the Zeit Now hosting.

Before deploying

  1. Create this now.json file in your project and change the site url:
{
  "alias": "www.your-site.com",
  "version": 2,
  "builds": [
    {
      "src": "package.json",
      "use": "@frontity/now"
    }
  ]
}
  1. Create an account on Now. You can signup here.

  2. Log in the terminal:

> npx now login

Deploy a test site

Deploy Frontity using this command:

> npx now

That will give you a unique URL for that deploy. Check that everything is ok.

Deploy a production site

You need to add a CNAME of www.your-site.com to alias.zeit.co in your domain DNS settings.

Then, deploy Frontity using this command:

> npx now --target production

That will createa a deploy and assign it to your real site url.

Readme

Keywords

Package Sidebar

Install

npm i @tiborudvari/now-builder

Weekly Downloads

0

Version

1.2.2

License

Apache-2.0

Unpacked Size

19.6 kB

Total Files

5

Last publish

Collaborators

  • tiborudvari