abaddonpuff / commandCenter

Centralized hub for a bunch of stuff
GNU General Public License v3.0
3 stars 0 forks source link

manage.py command #4

Open bbelderbos opened 5 months ago

bbelderbos commented 5 months ago

We can make an "update content" custom command that will run say every hour to update the database with new content for each channel, starter:

How to Create a Custom Django Command https://www.youtube.com/watch?v=E5BYROPiy60

bbelderbos commented 4 months ago

This is still a good way to run each scraper at an interval caching the data to the database. Users can then consume based on their stored preferences.

bbelderbos commented 4 months ago

@abaddonpuff one of the next tasks ...

bbelderbos commented 4 months ago

@abaddonpuff ok the video was already in this issue, can you remind me what the command(s) will do?

abaddonpuff commented 3 months ago

Command ready, the idea is to notify the users when there are album ready and put this into a lambda function. Command is working now.

image image
bbelderbos commented 3 months ago

Thanks, I will review in a bit. Lambda function? I guess this would run wherever you deploy the Django app?

bbelderbos commented 3 months ago

command done, did you figure out how to run it on Heroku?