Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jalle19/hs-debaiter
Debaiter for hs.fi
https://github.com/jalle19/hs-debaiter
Last synced: about 2 months ago
JSON representation
Debaiter for hs.fi
- Host: GitHub
- URL: https://github.com/jalle19/hs-debaiter
- Owner: Jalle19
- License: gpl-2.0
- Created: 2024-07-29T12:35:02.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-08-14T08:07:19.000Z (5 months ago)
- Last Synced: 2024-10-12T13:26:12.799Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 175 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hs-debaiter
A service that keeps track of hs.fi articles and their titles, allowing people to see any previous titles an article
has had.## Development
You can use Docker Compose to spin up a development environment. This is used mainly for the app itself and the
database - the frontend is best developed locally.```bash
cp .env.example .env
cp webui/.env.example webui/.env
cp compose.dev.yaml compose.override.yaml
docker compose run --rm app composer install
docker compose run --rm app php src/Console.php import-rss-feed
docker compose up
```## Production
Same as development, but copy `compose.prod.yaml` instead and modify it.
To deploy the thing after pulling in the latest changes, run:
```bash
docker compose down && docker compose build app && docker compose up -d
```## Running without Docker Compose
Something like this, you'll figure it out:
```bash
docker build -t hs-debaiter .
docker run -p 8080:80 -p 2466:2466 -v $PWD:/app -it --rm hs-debaiter
docker run -v $PWD:/app -it --rm hs-debaiter php src/Console.php import-rss-feed
```## License
GNU General Public License v2.0 or later