update snap and readme

This commit is contained in:
Bevan Hunt 2020-01-07 20:31:21 -08:00
parent 5d11565f81
commit d6412c3e59
4 changed files with 3 additions and 5 deletions

2
Cargo.lock generated
View File

@ -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)",

View File

@ -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"

View File

@ -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

View File

@ -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