mirror of https://github.com/apibillme/broker
update snap and readme
This commit is contained in:
parent
5d11565f81
commit
d6412c3e59
|
@ -386,7 +386,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "broker"
|
||||
version = "1.0.2"
|
||||
version = "1.0.3"
|
||||
dependencies = [
|
||||
"actix-cors 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"actix-rt 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "broker"
|
||||
version = "1.0.2"
|
||||
version = "1.0.3"
|
||||
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
|
|
@ -151,7 +151,6 @@ async fn main() -> std::result::Result<(), std::io::Error> {
|
|||
sudo snap install broker
|
||||
```
|
||||
|
||||
- broker will run as a daemon
|
||||
- the PORT needs to be passed in as an environment variable
|
||||
- the ORIGIN needs to be passed in as an environment variable
|
||||
- the EXPIRY (for jwts) needs to be passed in as an environment variable
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: broker # you probably want to 'snapcraft register <name>'
|
||||
base: core18 # the base snap is the execution environment for this snap
|
||||
version: '1.0.1' # just for humans, typically '1.2+git' or '1.3.2'
|
||||
version: '1.0.3' # just for humans, typically '1.2+git' or '1.3.2'
|
||||
summary: Real-time Zero-Code API Server # 79 char long summary
|
||||
description: |
|
||||
The purpose of this library is to be your real-time zero-code API server.
|
||||
|
@ -19,4 +19,3 @@ parts:
|
|||
apps:
|
||||
broker:
|
||||
command: bin/broker
|
||||
daemon: simple
|
||||
|
|
Loading…
Reference in New Issue