install step now working
This commit is contained in:
@ -11,7 +11,7 @@ export class Cert {
|
||||
cfEmail:string,
|
||||
cfKey:string,
|
||||
sslDir:string,
|
||||
gitOriginRepo:string
|
||||
gitOriginRepo?:string
|
||||
}){
|
||||
this.cfEmail = optionsArg.cfEmail;
|
||||
this.cfKey = optionsArg.cfKey;
|
||||
@ -22,6 +22,9 @@ export class Cert {
|
||||
}
|
||||
|
||||
export class Certificate {
|
||||
domainName:string;
|
||||
creationDate:Date;
|
||||
expiryDate:Date;
|
||||
constructor(){
|
||||
|
||||
};
|
||||
|
@ -1,7 +1,10 @@
|
||||
import * as beautylog from "beautylog";
|
||||
import * as path from "path";
|
||||
import * as smartfile from "smartfile";
|
||||
let fs = require("fs-extra");
|
||||
beautylog.info("installing letsencrypt.sh locally...");
|
||||
|
||||
fs.ensureDir(path.join(__dirname,"assets/"));
|
||||
smartfile.remote.toFs(
|
||||
"https://raw.githubusercontent.com/lukas2511/letsencrypt.sh/master/letsencrypt.sh",
|
||||
path.join(__dirname,"assets/","le.sh")
|
||||
|
Reference in New Issue
Block a user