Unfortunately due to an unforeseen event, I was unable to pick up the task during the weekend so completed it in one sitting so missed the part on making smaller commits.
All requirements including Bonus Points in the Assignment Notion Doc are implemented.
cd deployment
docker compose build
docker compose up
Open up a new shell inside deployment
and type the following command
docker compose exec server sh -c "export DJANGO_SUPERUSER_PASSWORD=admin-password && python3 manage.py createsuperuser --noinput --username admin --email admin@famapp.in"
- Go to localhost:8000/admin
- Enter username as
admin
and password asadmin-password
- Go to localhost:8000/admin/core/ytdatav3credentials/add
- Enter the
Encrypted text
(this is the API Key to query YouTube Data V3) - Enter the GCP Project id and Project name and save
- Go to localhost:8000/admin/core/ytmetadata and keep refreshing until data is populated. This should typically take around a minutes time.