Go server + website + Python scraper designed to manage YGL listing links received from brokers and notify when new listings are added.
-
Populate your
.env
file (take a look at.env-example
) -
For now, the only option is to build from source
docker compose up -d
- Install system deps
Debian-based systems (Ubuntu)
sudo apt-get build-dep python3-lxml
RHEL-based systems (Fedora)
sudo dnf in python3-devel libxml2-devel libxslt-devel
- Install python dependencies (recommended to use a virtual environment)
python -m venv .venv
source ./.venv/bin/activate # run `deactivate` to turn off the venv, or just `exit` the terminal
pip install -r ./scraper/requirements.txt
- Start the server
go run .
- Run the scraper manually (in a seperate terminal, with your venv activated if used)
cd ./scraper # the scraper MUST be run from this directory, for now
./main