Use Penpot locally with Podman

Table of Contents

How to host Penpet locally on your System using Podman:

Required:

  1. Podman Desktop
  2. Git
  3. Podman
  4. Podman compose
  5. Python

Resources:

  1. How to develop penpot with podman (penpotman)

1. Install basics:

git, podman and podman-compose.

Depending on your system install all these components. I am using Fedora so

$ dnf install git podman podman-compose

Debian would not have podman-compose laying around so you have to:

  1. Install python.
  2. Create an environment.
  3. pip3 install podman-compose inside that env.

2. Clone Penpot:

$ git clone https://github.com/penpot/penpot.git

It’s a huge repository.

3. Running podman-compose:

Navigate to:

/penpot/docker/images

Inside this dir run:

$  podman-compose -p penpot -f docker-compose.yaml up -d

Terminal would prompt for selecting repository select docker.io for example.

4. Testing

http://localhost:9001/ visit here and see if you can see Penpot’s login page.

If yes then you’re done! Congratulations!!

If not then well, there is nothing on my localhost:9001 so I’ll have to dig a bit.

5. Penpot login page not loading:

Well it was my mistake that while running podman-compose some of the containers were not downloaded, I ran the command and it’s working!!

6. Creating an account:

Just create account normally like you use it.

Create account through cli:

$ podman exec -ti penpot_penpot-backend_1 python3 ./manage.py create-profile

7. There you have it, have a nice one.

Tags :