seeding with initial scripts.
This commit is contained in:
parent
63cc2a54de
commit
e744276481
5 changed files with 112 additions and 0 deletions
13
run-import.sh
Executable file
13
run-import.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "[INFO] Creating virtual environment..."
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
|
||||
echo "[INFO] Installing dependencies..."
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt || echo "[WARN] requirements.txt not found, skipping."
|
||||
|
||||
echo "[INFO] Running database setup..."
|
||||
python scripts/init_db.py
|
Loading…
Add table
Add a link
Reference in a new issue