blob: 879e0262191aa9cd6102000f0b5f3cf1a33f61cb (
plain)
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
|
# Balalaika
School project of a lyrics game site.
## Set up env
Create a .env file and fill using env_example as a guide.
## Setup database
To manage the database through the program's scripts use
`cargo run-script`
You can install the app with
`cargo install cargo-run-script`
Available scripts:
```
db_create
db_populate
db_start
db_stop
```
The start/stop scripts assume that you're using systemd.
If not, just start/stop the mariadb service manually.
## Changes
### Single parameters ONLY
You can only search a parameter at a time.
This is because Rust needs to process the sql queries ahead of time
in order to make them safe to injection attacks.
|