mirror of
https://github.com/wassname/options_backtester.git
synced 2026-07-18 12:30:10 +08:00
35 lines
767 B
Markdown
35 lines
767 B
Markdown
# Financial Watchdog
|
|
|
|
## Requirements
|
|
- [WebDriver](https://www.w3.org/TR/webdriver1/) process running on port 4444 (e.g., [geckodriver](https://github.com/mozilla/geckodriver/releases), [chromedriver](https://sites.google.com/a/chromium.org/chromedriver/))
|
|
- SQLite 3.19.3
|
|
- Rust 1.33
|
|
- [Diesel CLI 1.4](https://crates.io/crates/diesel_cli)
|
|
|
|
When installing `diesel_cli` if you run into any errors try installing with our needed features only:
|
|
|
|
```
|
|
$> make install_diesel_cli
|
|
```
|
|
|
|
## Setup
|
|
|
|
Create a `.env` with the following values:
|
|
|
|
- `DATABASE_URL`: The filepath where the DB will be stored (SQLite)
|
|
- `SLACK_WEBHOOK_URL`: URL for Slack's webhook
|
|
|
|
Create the database by running the migrations:
|
|
|
|
```
|
|
$> make migration
|
|
```
|
|
|
|
## Running
|
|
|
|
Run it
|
|
|
|
```
|
|
$> make run
|
|
```
|