Add a script for seeding data into the database
Expects a Data argument which is a directory containing the text for A Study in Scarlet
This commit is contained in:
parent
81bad03ebd
commit
cb70df80e1
2 changed files with 45 additions and 0 deletions
|
|
@ -7,4 +7,7 @@ buildPythonApplication {
|
|||
src = ./.;
|
||||
pyproject = true;
|
||||
build-system = [setuptools];
|
||||
postInstall = ''
|
||||
install -Dm755 scripts/seed.py $out/bin/seed
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue