From 374c360967b1a37340d42303bde80b2f9d5e33f1 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 29 Jul 2020 02:38:55 +0000 Subject: [PATCH] add TL;DR --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 065f3c0..343378f 100644 --- a/README.md +++ b/README.md @@ -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: