blob: 164f0b3555cc693c6d73cd66d7a8aca9a87b491a (
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.
## 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 stop/start scripts assume 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.
### SearchResults changed its name
Since searchResults was highly unintuitive,
it has been renamed to just "name".
|