Skip to content

softspiders/now

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SOFTSPIDERS

now

Zeit Now "HelloWorld" example

Feature tags

  • now
  • starter
  • template
  • zeit

Direct descendants

An Apollo Server & Client in a Next.js in a yarn Workspace deployed with Now 2.0


Requirements

Now CLI

Install Now CLI

npm install -g now

Write code

mkdir now && cd now

We are now inside the now directory. Use your favorite text editor to create an index.html file with the following contents:

<h1>Hello World</h1>
<marquee>This is my first Now Deployment</marquee>

Deploy to Zeit Now

All we have to do now is run now from within the now directory:

now

The output looks like the following and includes a deployment URL: CLI console

Check the deployment

Check the deployment for a live example: https://my-app-prtypks27.now.sh/

This URL is unique to the source code inside that directory. If you run now again, the same deployment is returned. This is why we call our deployments immutable.

Authors

Inspired by

An Apollo Server & Client in a yarn Workspace deployed with Zeit 2.0

License

Licensed under the MIT license.