mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 21:07:46 +00:00
[examples] Update readme to use Vercel CLI (#4383)
Fixes an issue someone mentioned in discussion #4361
This commit is contained in:
@@ -12,16 +12,16 @@ _Live Example: https://amp.now-examples.now.sh_
|
|||||||
|
|
||||||
### How We Created This Example
|
### How We Created This Example
|
||||||
|
|
||||||
To get started deploying AMP with Vercel, you can use the [Now CLI](https://vercel.com/download) to initialize the project:
|
To get started deploying AMP with Vercel, you can use the [Vercel CLI](https://vercel.com/download) to initialize the project:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now init amp
|
$ vercel init amp
|
||||||
```
|
```
|
||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new AMP project with a single command from your terminal using Now CLI:
|
You can deploy your new AMP project with a single command from your terminal using Vercel CLI:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ ng new
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Angular project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Angular project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ $ brunch new project-name -s es6
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Brunch project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Brunch project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ npx create-react-app my-app
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new React project, along with [Serverless Functions](https://vercel.com/docs/v2/serverless-functions/introduction), with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new React project, along with [Serverless Functions](https://vercel.com/docs/v2/serverless-functions/introduction), with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ _Live Example: https://custom-build.now-examples.now.sh_
|
|||||||
|
|
||||||
### How We Created This Example
|
### How We Created This Example
|
||||||
|
|
||||||
To get started deploying a Custom Built project with Vercel, you can use the [Now CLI](https://vercel.com/download) to initialize the project:
|
To get started deploying a Custom Built project with Vercel, you can use the [Vercel CLI](https://vercel.com/download) to initialize the project:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now init custom-build
|
$ now init custom-build
|
||||||
@@ -20,8 +20,8 @@ $ now init custom-build
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Custom Built project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Custom Built project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ $ npx @docusaurus/init@next init my-website classic
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
Once initialized, you can deploy the Docusaurus example with just a single command:
|
You can deploy your new Docusaurus project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ docusaurus-init
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Docusaurus project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Docusaurus project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -13,13 +13,13 @@ Deploy your own Dojo project with Vercel.
|
|||||||
To get started with Dojo on Vercel, you can use the [Dojo CLI](https://github.com/dojo/cli) to initialize the project:
|
To get started with Dojo on Vercel, you can use the [Dojo CLI](https://github.com/dojo/cli) to initialize the project:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now init dojo
|
$ vercel init dojo
|
||||||
```
|
```
|
||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
Once initialized, you can deploy the Dojo example with just a single command:
|
You can deploy your new Dojo project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ npx degit 11ty/eleventy-base-blog my-11ty-project
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Eleventy project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Eleventy project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ npx ember-cli new ember-project
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Ember project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Ember project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ gatsby new gatsby-site
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Gatsby project, along with [Serverless Functions](https://vercel.com/docs/v2/serverless-functions/introduction), with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Gatsby project, along with [Serverless Functions](https://vercel.com/docs/v2/serverless-functions/introduction), with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ gridsome create my-website
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Gridsome project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Gridsome project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ hexo init project-name
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Hexo project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Hexo project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ $ hugo new site project-name
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Hugo project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Hugo project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ $ npx ionic start [project-name] conference --type angular && cd [project-name]
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Ionic Angular project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Ionic Angular project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ $ npx ionic start [project-name] conference --type react && cd [project-name]
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Ionic React project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Ionic React project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ $ jekyll new my-blog
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Jekyll project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Jekyll project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ $ middleman init project-name
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Middleman project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Middleman project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ npx create-nuxt-app my-app
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Nuxt.js project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Nuxt.js project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ polymer init
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Polymer project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Polymer project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ preact create default my-project
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Preact project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Preact project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ npm init site my-saber-site
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Saber project with a single command from your terminal using Now CLI:
|
You can deploy your new Saber project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ npx degit "sveltejs/sapper-template#webpack" my-sapper-app
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Sapper project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Sapper project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,27 +1,29 @@
|
|||||||
# Scully
|

|
||||||
|
|
||||||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli).
|
# Scully Example
|
||||||
|
|
||||||
## Development server
|
This directory is a brief example of a [Scully](https://scully.io) site that can be deployed to Vercel with zero configuration.
|
||||||
|
|
||||||
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
|
## Deploy Your Own
|
||||||
|
|
||||||
## Code scaffolding
|
Deploy your own Scully project with Vercel.
|
||||||
|
|
||||||
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
|
[](https://vercel.com/import/project?template=https://github.com/zeit/now/tree/master/examples/scully)
|
||||||
|
|
||||||
## Build
|
_Live Example: https://scully.now-examples.now.sh_
|
||||||
|
|
||||||
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
|
### How We Created This Example
|
||||||
|
|
||||||
## Running unit tests
|
To get started deploying Scully with Vercel, you can use the [Vercel CLI](https://vercel.com/download) to initialize the project:
|
||||||
|
|
||||||
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
```shell
|
||||||
|
$ vercel init scully
|
||||||
|
```
|
||||||
|
|
||||||
## Running end-to-end tests
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
|
You can deploy your new Scully project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
## Further help
|
```shell
|
||||||
|
$ vercel
|
||||||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
```
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ $ npm init stencil
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Stencil project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Stencil project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ $ npx degit sveltejs/template my-svelte-project
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Svelte project, along with [Serverless Functions](https://vercel.com/docs/v2/serverless-functions/introduction), with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Svelte project, along with [Serverless Functions](https://vercel.com/docs/v2/serverless-functions/introduction), with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ yarn create umi app-name
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new UmiJS project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new UmiJS project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -4,16 +4,16 @@ This directory is a realtime serverless whiteboard powered by Pusher. The fronte
|
|||||||
|
|
||||||
## Creating This Example
|
## Creating This Example
|
||||||
|
|
||||||
To get started with a realtime whiteboard on Vercel, you can use [Now CLI](https://vercel.com/download) to initialize the project:
|
To get started with a realtime whiteboard on Vercel, you can use [Vercel CLI](https://vercel.com/download) to initialize the project:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now init vanilla-pusher-functions
|
$ vercel init vanilla-pusher-functions
|
||||||
```
|
```
|
||||||
|
|
||||||
## Deploying This Example
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
Once initialized, you can deploy the example with just a single command:
|
You can deploy your new project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ $ vue create
|
|||||||
|
|
||||||
### Deploying From Your Terminal
|
### Deploying From Your Terminal
|
||||||
|
|
||||||
You can deploy your new Vue.js project with a single command from your terminal using [Now CLI](https://vercel.com/download):
|
You can deploy your new Vue.js project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ now
|
$ vercel
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user