https://github.com/softspiders/now
Zeit Now "HelloWorld" example
https://github.com/softspiders/now
hello-world min now serverless softspider softspiders ss starter template v2 zeit
Last synced: 8 months ago
JSON representation
Zeit Now "HelloWorld" example
- Host: GitHub
- URL: https://github.com/softspiders/now
- Owner: softspiders
- License: mit
- Created: 2019-03-02T05:17:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-13T04:20:25.000Z (about 6 years ago)
- Last Synced: 2025-01-15T20:20:03.270Z (about 1 year ago)
- Topics: hello-world, min, now, serverless, softspider, softspiders, ss, starter, template, v2, zeit
- Language: HTML
- Size: 224 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[SOFTSPIDERS](https://github.com/softspiders/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](https://github.com/softspiders/zeit-now-next-typescript-graphql-apollo)
---
## Requirements
[Now CLI](https://zeit.co/docs/v2/getting-started/installation/#now-cli)
### Install *Now CLI*
```sh
npm install -g now
```
## Write code
```sh
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:
```html
Hello World
This is my first Now Deployment
```
## Deploy to Zeit Now
All we have to do now is run *now* from within the *now* directory:
```sh
now
```
The output looks like the following and includes a deployment URL:

## 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
* [Zeit](https://zeit.co/) (c)
* [Alexander Lapygin](https://github.com/AlexanderLapygin) - catching in [Soft Spiders Net](https://github.com/softspider)
## Inspired by
[An Apollo Server & Client in a yarn Workspace deployed with Zeit 2.0](https://zeit.co/docs/v2/deployments/basics/)
### License
Licensed under the [MIT license](./LICENSE).