-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
52 lines (41 loc) · 1.69 KB
/
Copy path.env.example
File metadata and controls
52 lines (41 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Local Development Configuration
# All paths are relative to the project root.
# Run all servers from the project root: cargo run -p <package>
# ==========================================
# Record Collector Server
# ==========================================
SEGA_ID=your_sega_id_here
SEGA_PASSWORD=your_sega_password_here
RECORD_COLLECTOR_PORT=3000
DATA_DIR=data
DATABASE_URL=sqlite:data/maimai.sqlite3
# ==========================================
# Song Database Generator
# ==========================================
SONG_DATA_PATH=data/song_data
# ==========================================
# Discord Bot
# ==========================================
DISCORD_BOT_TOKEN=your_discord_bot_token_here
DISCORD_DEV_USER_ID=your_discord_user_id_here
SONG_DATABASE_URL=https://maimai-charts.muhwan.dev
DISCORD_BOT_DATABASE_URL=sqlite:data/maistats-discord-bot.sqlite3
# ==========================================
# Song Database Update Source
# ==========================================
MAIMAI_INTL_SEGA_ID=your_sega_id_here
MAIMAI_INTL_SEGA_PASSWORD=your_sega_password_here
USER_AGENT=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
# ==========================================
# Song Database upload destination
# ==========================================
R2_PUBLIC_BASE_URL=your_r2_public_base_url_here
R2_CLOUDFLARE_API_TOKEN=your_r2_cloudflare_api_token_here
R2_BUCKET_NAME=your_r2_bucket_name_here
R2_ACCESS_KEY_ID=your_r2_access_key_id_here
R2_SECRET_ACCESS_KEY=your_r2_secret_access_key_here
R2_ENDPOINT=your_r2_endpoint_here
# ==========================================
# Logging
# ==========================================
RUST_LOG=info