A Django-based web application to automatically scrape focal news from the UDN NBA website using Scrapy, store the data in a database with appropriate Django models, and display the news dynamically using Django REST Framework and AJAX. The application includes celery scheduled scraping and is deployed to a server on GCP for live operation.
Run git project or docker image:
git clone https://github.com/pong1013/dynamic-news-scraper.git
Run start.sh
cd udn_nba
./start.sh
docker pull pong1013/nba-spider:latest
docker run -p 8000:8000 -p 6379:6379 pong1013/nba-spider:latest
Go to cloud shell.
- Pull Image
sudo docker pull pong1013/nba-spider:latest sudo docker run -d --platform linux/arm64 -p 8000:8000 -p 6379:6379 pong1013/nba-spider:latest
- List running container and check logs
sudo docker ps sudo docker logs <container_id>
- Access web
http://[EXTERNAL_IP]:8000