Skip to content

instarchiver/instarchiver-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

278 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instarchiver Backend

Welcome to Instarchiver Backend, the Django REST API for archiving Instagram content. Yes, another backend project—because the world clearly needed one more.

codecov Ruff Uptime Robot status Uptime Robot ratio (7 days)

License: MIT (because why not?)

Local Setup (Docker Only)

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.

Prerequisites

  • Docker & Docker Compose (seriously, just install them)

Getting Started

Open your terminal (yes, the scary black window) and run:

docker-compose -f docker-compose.local.yml up

If you see errors, try turning it off and on again. Or, you know, read the error message.

Services will magically appear at:

Common Docker Compose Tasks

Because you’ll probably forget these commands, here they are (again):

1. Build Images (when you break something or update dependencies)

docker-compose -f docker-compose.local.yml build

2. Start All Services (in case you closed everything by accident)

docker-compose -f docker-compose.local.yml up

3. Run Database Migrations (Django loves migrations, trust us)

Open a new terminal (yes, another one):

docker-compose -f docker-compose.local.yml run --rm django python manage.py migrate

4. Create Admin User (so you can actually log in)

docker-compose -f docker-compose.local.yml run --rm django python manage.py createsuperuser

Now, go to http://localhost:8000/admin/ and pretend you’re in charge.