add TL;DR

这个提交包含在:
AJ ONeal 2020-07-29 02:38:55 +00:00
父节点 4b24cc48e9
当前提交 374c360967
共有 1 个文件被更改,包括 14 次插入1 次删除

查看文件

@ -89,18 +89,31 @@ Works with _any_ node http app, including
Serving sites with Free SSL is as easy as 1, 2, 3... 4
### Overview
## Overview
1. Create a Project with Greenlock Express
- `server.js`
- `app.js`
2. Setup the config file (or database)
- `.greenlockrc`
- `greenlock.d/config.json`
3. Add Domains
- `npx greenlock add --subject example.com --altnames example.com`
4. Hello, World!
- `npm start -- --staging`
### TL;DR
If you're familiar with node, npm, and npx: this is all you need to do:
```bash
npx greenlock init --config-dir greenlock.d --maintainer-email jon@example.com
npx greenlock add --subject example.com --altnames example.com
npm start -- --staging
```
Once you've tested that that works, you can change `app.js` to suit your needs replace the built-in callbacks for things like certificate storage as you like.
## 1. Create your Project
If you need to install Node.js, do so: