Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create README file for https example (#340)
- Loading branch information
1 parent
1248351
commit 3b33de0
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Micro app with HTTPS | ||
|
||
## How to use | ||
|
||
Download the example [or clone the repo](https://github.com/zeit/micro): | ||
|
||
```bash | ||
curl https://codeload.github.com/zeit/micro/tar.gz/master | tar -xz --strip=2 micro-master/examples/with-https | ||
cd socket.io-chat-app | ||
``` | ||
|
||
Install it and run: | ||
|
||
```bash | ||
npm install | ||
npm run start | ||
``` | ||
|
||
Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download)) | ||
|
||
```bash | ||
now | ||
``` | ||
|
||
## The idea behind the example | ||
|
||
Shows how to make use of HTTPS requests with micro. |