[GH-ISSUE #759] Question: Probably a really dumb question, but I'm completely stumped on step 2 of the installation process. #3498

Closed
opened 2026-03-14 23:16:31 +03:00 by kerem · 2 comments
Owner

Originally created by @NylaTheWolf on GitHub (Jun 3, 2021).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/759

I'm on Mac OS, and I downloaded Docker Desktop. (I'm following the recommended method, downloading and setting up archivebox through docker-compose) I went through the tutorial and all. I downloaded the zip file for ArchiveBox. But... now what? The instructions say to put the docker-composer.yml file into an empty directory. Do I do that with the code provided? Where do I put that code? I'd assume in Docker but I can't find any way to make a new container (if I'm even supposed to make a container) or edit the tutorial contain or the repo, which is what the dashboard shows. Do I move docker-composer.yml from the ArchiveBox-dev folder into a new, empty folder?

This is probably a really stupid question but I've literally never used Docker in my life before and I'm not familiar with this stuff.

Originally created by @NylaTheWolf on GitHub (Jun 3, 2021). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/759 I'm on Mac OS, and I downloaded Docker Desktop. (I'm following the recommended method, downloading and setting up archivebox through docker-compose) I went through the tutorial and all. I downloaded the zip file for ArchiveBox. But... now what? The instructions say to put the docker-composer.yml file into an empty directory. Do I do that with the code provided? Where do I put that code? I'd assume in Docker but I can't find any way to make a new container (if I'm even supposed to make a container) or edit the tutorial contain or the repo, which is what the dashboard shows. Do I move docker-composer.yml from the ArchiveBox-dev folder into a new, empty folder? This is probably a really stupid question but I've literally never used Docker in my life before and I'm not familiar with this stuff.
kerem 2026-03-14 23:16:31 +03:00
Author
Owner

@pirate commented on GitHub (Jun 3, 2021):

Just copy/paste and run these commands verbatim in Terminal.app, no need to download any zip or move things manually in finder:

mkdir ~/archivebox && cd ~/archivebox                                                         # this creates the empty directory
curl -O 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/docker-compose.yml'   # this downlaods the docker compose file into that directory

docker-compose run archivebox init --setup                                                    # this sets up your collection in that directory
# type in the admin user and pass you want (you can just press enter to leave the email empty)

docker-compose up                                                                             # this starts the archivebox server

Then open http://127.0.0.1:8000 in your browser.

<!-- gh-comment-id:853598024 --> @pirate commented on GitHub (Jun 3, 2021): Just copy/paste and run these commands verbatim in Terminal.app, no need to download any zip or move things manually in finder: ```bash mkdir ~/archivebox && cd ~/archivebox # this creates the empty directory curl -O 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/docker-compose.yml' # this downlaods the docker compose file into that directory docker-compose run archivebox init --setup # this sets up your collection in that directory # type in the admin user and pass you want (you can just press enter to leave the email empty) docker-compose up # this starts the archivebox server ``` Then open http://127.0.0.1:8000 in your browser.
Author
Owner

@NylaTheWolf commented on GitHub (Jun 5, 2021):

@pirate sorry for the late response, I've been busy!

So I entered the commands into Terminal. I had to go to bed so I exited the terminal after doing a certain step (like the 2nd). I did docker-compose up
Screen Shot 2021-06-05 at 7 41 38 PM

Then my dumb ass got worried that I did it wrong or something, so I did docker-compose run archivebox init --setup

Screen Shot 2021-06-05 at 7 49 59 PM
And when I tried to create an admin superuser, I must've accidentally run the command again?

Now archivebox_1 | "GET /admin/login/ HTTP/1.1" 200 11144 keeps popping up.

Did I screw something up?

Edit: Also when I try signing in it doesn't work? I created a new superuser but I can't log into it through the web app? Nevermind, I figured it out!

<!-- gh-comment-id:855312104 --> @NylaTheWolf commented on GitHub (Jun 5, 2021): @pirate sorry for the late response, I've been busy! So I entered the commands into Terminal. I had to go to bed so I exited the terminal after doing a certain step (like the 2nd). I did docker-compose up ![Screen Shot 2021-06-05 at 7 41 38 PM](https://user-images.githubusercontent.com/41797151/120908395-b8bfa380-c637-11eb-9ffe-ea1d3780f281.png) Then my dumb ass got worried that I did it wrong or something, so I did `docker-compose run archivebox init --setup` ![Screen Shot 2021-06-05 at 7 49 59 PM](https://user-images.githubusercontent.com/41797151/120908406-dab92600-c637-11eb-8d66-a2e618a4b9f3.png) And when I tried to create an admin superuser, I must've accidentally run the command again? Now `archivebox_1 | "GET /admin/login/ HTTP/1.1" 200 11144` keeps popping up. Did I screw something up? Edit: ~~Also when I try signing in it doesn't work? I created a new superuser but I can't log into it through the web app?~~ Nevermind, I figured it out!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#3498
No description provided.