Skip to content

Commit

Permalink
new blog post: archivebox setup
Browse files Browse the repository at this point in the history
  • Loading branch information
deadbaed committed Mar 2, 2024
1 parent 5aaee87 commit 59d81c9
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions content/2024-03-02-archivebox-setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
+++
title = "First setup of Archivebox"
date = 2024-03-02
+++

I discovered [Archivebox](https://archivebox.io) and decided to install it on my server using containers.

I just had to make a couple of adjustements, because all the content on the instance is publically available. I do not want that, I want to restrict access with user accounts.

To do so, start by finding out the container name, and open a shell:

```shell
docker exec --user=archivebox -it container-name-goes-here bash
```

Go into the directory where Archivebox data is stored, and you will be able to run command to manage the instance.

## Hide everything from the public

```shell
archivebox config --set SAVE_ARCHIVE_DOT_ORG=False
archivebox config --set PUBLIC_INDEX=False
archivebox config --set PUBLIC_SNAPSHOTS=False
archivebox config --set PUBLIC_ADD_VIEW=False
```

## Create first user account

Now that you cut outside world access to your instance, create an admin user to access and add new content:

```shell
archivebox manage createsuperuser
```

Once finished, exit the shell and restart Archivebox.

0 comments on commit 59d81c9

Please sign in to comment.