fix repo link

This commit is contained in:
Philipp Kunz 2016-06-18 15:42:09 +02:00
parent c0753c185f
commit 821b2f95b0
5 changed files with 21 additions and 5 deletions

View File

@ -6,7 +6,7 @@ Easily obain SSL certificates from LetsEncrypt. Supports DNS-01 challenge. TypeS
```typescript
import {Cert} from "cert";
myCert = new Cert({
let myCert = new Cert({
cfEmail = "some@cloudflare.email",
cfKey = "someCloudflareApiKey",
outputPath = "someOutputPath" // NOTE: if you already have certificates, make sure you put them in here, so cert only requires the missing ones

View File

@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/pushrocks/cert.git"
"url": "git+https://gitlab.com/pushrocks/cert.git"
},
"keywords": [
"coreos",
@ -19,11 +19,15 @@
"author": "Lossless GmbH",
"license": "MIT",
"bugs": {
"url": "https://github.com/pushrocks/cert/issues"
"url": "https://gitlab.com/pushrocks/cert/issues"
},
"homepage": "https://github.com/pushrocks/cert#readme",
"homepage": "https://gitlab.com/pushrocks/cert#readme",
"dependencies": {
"letsencrypt": "^1.4.4"
"beautylog": "^5.0.12",
"cflare": "0.0.2",
"letsencrypt": "^1.4.4",
"smartcli": "^1.0.2",
"smartfile": "^3.0.10"
},
"devDependencies": {
"npmts-g": "^5.2.6"

2
ts/cert.hook.ts Normal file
View File

@ -0,0 +1,2 @@
import * as smartcli from "smartcli";
import * as cflare from "cflare";

View File

@ -0,0 +1,10 @@
import * as beautylog from "beautylog";
import * as path from "path";
import * as smartfile from "smartfile";
beautylog.info("installing letsencrypt.sh locally...");
smartfile.remote.toFs(
"https://raw.githubusercontent.com/lukas2511/letsencrypt.sh/master/letsencrypt.sh",
path.join(__dirname,"assets/","le.sh")
).then(() => {
beautylog.success("Done!");
});