Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kymmt90/rustbook-log-collector


https://github.com/kymmt90/rustbook-log-collector

Last synced: about 1 month ago
JSON representation

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