23 lines
768 B
Markdown
23 lines
768 B
Markdown
# Cliffbot2
|
|
|
|
Just a simple lil web scraper for the Heathcliff webcomic. An improved verison of [a similar project](https://git.breadone.xyz/breadone/cliffbot) I made a few years ago, this time without requiring AWS Lambda, and all nice and dockerised.
|
|
|
|
## Setup
|
|
|
|
Docker is recommended:
|
|
|
|
Clone the repo (or just download the compose file), then run:
|
|
|
|
```bash
|
|
docker compose up -d
|
|
```
|
|
|
|
Sidenote, the image is just hosted on this gitea instance running on a thin client. If it's slow, just build the image yourself sorry!!
|
|
|
|
Or if you just want to run the python file,
|
|
|
|
1. clone the repo
|
|
2. create and activate a virtualenv: `virtualenv .venv; source .venv/bin/activate`
|
|
3. install the requirements: `pip install -r requirements.txt`
|
|
4. run the app: `fastapi run main.py`
|