Lady Lilia's website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Nikola Forró 7c891f18cf
Add twitch-webhooks service
5 years ago
apps Add clips app 6 years ago
cms Update Grav 5 years ago
horde-map Improve UX of horde-map 5 years ago
horde-members-api Allow logging in with Discord in horde-map 6 years ago
instagram-api Fix Instagram API 5 years ago
nginx Add twitch-webhooks service 5 years ago
quotes-api Reindex subsequent quotes on deletion 6 years ago
teespring-api Fix Teespring API 5 years ago
twitch-cache-api Prevent inserting duplicate comments in one transaction 6 years ago
twitch-subs-api Rename gifted-subs-api to twitch-subs-api and add regular subs 6 years ago
twitch-webhooks Add twitch-webhooks service 5 years ago
Dockerfile Add horde-map 6 years ago
LICENSE Add LICENSE 7 years ago
README.md Update README 6 years ago
docker-compose.yaml.example Add twitch-webhooks service 5 years ago

README.md

ladylilia.com

Project structure

  • apps/gifted-subs - Angular application for browsing gifted subs
  • apps/merchandise - Angular application for browsing merchandise
  • apps/quotes - Angular application for browsing quotes
  • apps/regular-subs - Angular application for browsing regular subs
  • apps/schedule - Angular application for viewing livestream schedule
  • apps/twitch-logs - Angular application for browsing Twitch chat logs
  • cms - Grav CMS (Content Management System)
  • nginx - Configuration of NGINX web server
  • instagram-api - Flask application implementing RESTful API for querying Instagram profiles
  • quotes-api - Flask application implementing RESTful API for querying/manipulating the database of quotes
  • teespring-api - Flask application implementing RESTful API for querying Teespring merchandise stores
  • twitch-cache-api - Flask application implementing RESTful API for querying the Twitch cache
  • twitch-subs-api - Flask application implementing RESTful API for querying the database of Twitch subscriptions

Deployment

This project consists of 7 container images (instagram-api quotes-api, teespring-api, twitch-cache-api, twitch-subs-api, cms and nginx), that depend on each other - they need to run simultaneously and share certain data between themselves.

Best way to manage that is with docker-compose. Just copy docker-compose.yaml.example into docker-compose.yaml, make necessary adjustments and fire it all up with:

docker-compose up -d

Quotes API key generation

Quotes API key is needed for POST, PUT and DELETE API methods.

If the quotes-api container is running, then the key can be generated like this:

docker exec $QUOTES_API_CONTAINER_NAME python generate_api_key.py $USERNAME $EXPIRATION_TIME_IN_SECONDS

Twitch subs API key generation

Same as above, just replace quotes-api with twitch-subs-api.