A set of tools to help data scrapers collect and submit data.
- Clone this repo and
cd
into the directory - If you're working with DoltHub repos, install them in
/databases
.
- Have Python, PIP & virtualenv installed
- Create a venv (
python -m "venv" ./env
)- To activate on windows, you will run
.\\env\Scripts\activate.ps1
or.\env\Scripts\activate.bat
- To activate on *nix,
. ./venv/bin/activate
- To activate on windows, you will run
- In your venv, grab all the requirements:
pip install -r requirements.txt
- Now you can
cd pdap
and interact with themanage.py
file:python manage.py
will show all the available commandspython manage.py makemigrations
is useful when any of the models.py files are updated (to actually create a migration to sync to DB)python manage.py runserver
will run a dev version for you (needs an .env file with a testing PostgreSQL db running)
The Django app.
Scripts for scrapers and dataset maintenance.