Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kymmt90/rustbook-log-collector
https://github.com/kymmt90/rustbook-log-collector
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kymmt90/rustbook-log-collector
- Owner: kymmt90
- Created: 2023-08-27T05:56:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-27T06:31:43.000Z (over 1 year ago)
- Last Synced: 2023-08-27T08:41:08.661Z (over 1 year ago)
- Language: Rust
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rustbook-log-collector
[『実践Rust入門』](https://gihyo.jp/book/2019/978-4-297-10559-4)の第11章におけるlog-collectorを
- Actix Web 4
- Diesel 2
- SQLiteで書き直したものです。server、api、cliのうちcliは実装していません。
SQLiteとDiesel CLIをインストールしたうえで次の手順で動かします。
```
$ echo DATABASE_URL=server/log-collector.db > .env
$ (cd server; diesel setup --database-url=log-collector.db)
$ cargo r
```