kopia lustrzana https://github.com/badgen/badgen.net
docs: update README regarding now deploy
rodzic
c2521198d8
commit
d216248da3
12
README.md
12
README.md
|
@ -9,7 +9,7 @@ Home of [Badgen](https://badgen.net), fast badge generating service.
|
||||||
|
|
||||||
## The Badgen Story
|
## The Badgen Story
|
||||||
|
|
||||||
TLDR: Badgen Service is using [badgen](https://github.com/amio/badgen) to generate svg badges on the fly, running on Zeit's [now.sh](https://zeit.co/now), serving behind Now CDN.
|
TLDR: Badgen Service is using [badgen](https://github.com/amio/badgen) to generate svg badges on the fly, running on Zeit's [Now Cloud](https://zeit.co/now), serving behind Now CDN.
|
||||||
|
|
||||||
> That's a service, that's a library, hooorey!
|
> That's a service, that's a library, hooorey!
|
||||||
> [@tunnckoCore](https://twitter.com/tunnckoCore)
|
> [@tunnckoCore](https://twitter.com/tunnckoCore)
|
||||||
|
@ -26,15 +26,25 @@ Thanks to awesome people's help, Badgen are getting better and better. Welcome t
|
||||||
|
|
||||||
We are using [StandardJS][standard-href] style, make sure you have ESLint/Standard plugin on your editor and have autofix enabled.
|
We are using [StandardJS][standard-href] style, make sure you have ESLint/Standard plugin on your editor and have autofix enabled.
|
||||||
|
|
||||||
|
### Add live badge
|
||||||
|
|
||||||
If a service you wish to have is still missing here, we welcome new contirbutions. Check out [live-fns/crates.js](libs/live-fns/crates.js) and [live-fns/_index.js](libs/live-fns/_index.js) to get a quick impression. Basically, you need to add a file in `libs/live-fns/[name-of-service].js` and that's it.
|
If a service you wish to have is still missing here, we welcome new contirbutions. Check out [live-fns/crates.js](libs/live-fns/crates.js) and [live-fns/_index.js](libs/live-fns/_index.js) to get a quick impression. Basically, you need to add a file in `libs/live-fns/[name-of-service].js` and that's it.
|
||||||
|
|
||||||
To ensure that your addition is working correctly start the development server with `npm run dev`.
|
To ensure that your addition is working correctly start the development server with `npm run dev`.
|
||||||
|
|
||||||
|
### Deploy your own Badgen
|
||||||
|
|
||||||
|
Badgen generate badges on the fly, which means it's stateless (not rely on any db service). Deploy your own Badgen instance to [Now Cloud](https://zeit.co/now) with one single command:
|
||||||
|
```
|
||||||
|
now amio/badgen-service
|
||||||
|
```
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
Made with ❤️ by [Amio](https://github.com/amio),
|
Made with ❤️ by [Amio](https://github.com/amio),
|
||||||
built with ⚡️ from [badgen](https://github.com/amio/badgen).
|
built with ⚡️ from [badgen](https://github.com/amio/badgen).
|
||||||
|
|
||||||
|
[now-href]: https://zeit.co/now
|
||||||
[standard-src]: https://badgen.net/badge/code%20style/standard/F2A
|
[standard-src]: https://badgen.net/badge/code%20style/standard/F2A
|
||||||
[standard-href]: https://standardjs.com/
|
[standard-href]: https://standardjs.com/
|
||||||
[dep-src]: https://badgen.net/david/dep/amio/badgen-service
|
[dep-src]: https://badgen.net/david/dep/amio/badgen-service
|
||||||
|
|
|
@ -55,7 +55,7 @@ Available color names:
|
||||||
| npm downloads/year | ![](/npm/dy/express) | [/npm/dy/express](/npm/dy/express)
|
| npm downloads/year | ![](/npm/dy/express) | [/npm/dy/express](/npm/dy/express)
|
||||||
| npm downloads/total | ![](/npm/dt/micromatch) | [/npm/dt/express](/npm/dt/micromatch)
|
| npm downloads/total | ![](/npm/dt/micromatch) | [/npm/dt/express](/npm/dt/micromatch)
|
||||||
| npm license | ![](/npm/license/lodash) | [/npm/license/lodash](/npm/license/lodash)
|
| npm license | ![](/npm/license/lodash) | [/npm/license/lodash](/npm/license/lodash)
|
||||||
| npm node | ![](/npm/node/express) | [/npm/node/express](/npm/node/express)
|
| npm engines (node) | ![](/npm/node/express) | [/npm/node/express](/npm/node/express)
|
||||||
| crates.io version | ![](/crates/v/regex) | [/crates/v/regex](/crates/v/regex)
|
| crates.io version | ![](/crates/v/regex) | [/crates/v/regex](/crates/v/regex)
|
||||||
| crates.io downloads | ![](/crates/d/regex) | [/crates/d/regex](/crates/d/regex)
|
| crates.io downloads | ![](/crates/d/regex) | [/crates/d/regex](/crates/d/regex)
|
||||||
| crates.io downloads/latest | ![](/crates/dl/regex) | [/crates/dl/regex](/crates/dl/regex)
|
| crates.io downloads/latest | ![](/crates/dl/regex) | [/crates/dl/regex](/crates/dl/regex)
|
||||||
|
@ -106,8 +106,8 @@ Available color names:
|
||||||
|
|
||||||
Made with ❤️ by [Amio](https://github.com/amio)
|
Made with ❤️ by [Amio](https://github.com/amio)
|
||||||
<span style="float:right; color: #AAA">
|
<span style="float:right; color: #AAA">
|
||||||
<a href="https://github.com/amio/badgen">badgen</a> |
|
<a href="https://twitter.com/badgen_net">twitter</a> |
|
||||||
<a href="https://github.com/amio/badgen-service">badgen-service</a>
|
<a href="https://github.com/amio/badgen-service">github</a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
[url-enc-href]: https://developer.mozilla.org/en-US/docs/Glossary/percent-encoding
|
[url-enc-href]: https://developer.mozilla.org/en-US/docs/Glossary/percent-encoding
|
||||||
|
|
Ładowanie…
Reference in New Issue