Welcome to Instarchiver Backend, the Django REST API for archiving Instagram content. Yes, another backend project—because the world clearly needed one more.
License: MIT (because why not?)
So you want to run this locally? Great! But don’t even think about skipping Docker. If you’re allergic to containers, this probably isn’t the project for you.
- Docker & Docker Compose (seriously, just install them)
Open your terminal (yes, the scary black window) and run:
docker-compose -f docker-compose.local.yml upIf you see errors, try turning it off and on again. Or, you know, read the error message.
Services will magically appear at:
- Django app: http://localhost:8000
- API Documentation: http://localhost:8000/docs/
- Admin Interface: http://localhost:8000/admin/
Because you’ll probably forget these commands, here they are (again):
docker-compose -f docker-compose.local.yml builddocker-compose -f docker-compose.local.yml upOpen a new terminal (yes, another one):
docker-compose -f docker-compose.local.yml run --rm django python manage.py migratedocker-compose -f docker-compose.local.yml run --rm django python manage.py createsuperuserNow, go to http://localhost:8000/admin/ and pretend you’re in charge.