danbiagini/sportsoil
0
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Dev install virtual environment -- python 3.11.5
Update requirements.txt
## Manual Testing
To run in google cloud shell: To run in docker:
To run locally:Local database setup
- To reset DB with latest migrations (as needed)
- ``
docker compose --profile migrate up migration``
## Unit Tests
- pytest
To run spiders
Install the dependencies in tools/scrapers
- Create a venv
- ``
cd tools/scrapers`` - ``
python -m venv .scrapers_venv`` - Install dependencies (below is just a guess)
- ``
pip install -f requirements.txt`` - Run crawl
- ``
cd ice_scrapers`` - ``
scrapy crawl associations -a association_csv_file=<csv file with associations>``
Development Setup
Python Dependencies
- Production dependencies:
pip install -r requirements.prod.txt - Development dependencies:
pip install -r requirements.dev.txt - Full development setup:
pip install -r requirements.txt
