Assembly instructions

postalserver/postal

๐Ÿ“ฎ A fully featured open source mail delivery platform for incoming & outgoing e-mail

RubyRails#mail#mail-server#postal#ruby
Difficulty
Moderate
Time
about 15 min
Stars
โ˜… 16,923
Activity
Updated this month
License
MIT
Open issues
96
Got it running
Be the first
Looked up
5 h ago

Saved setup from 5 h ago

Start here

Setup script in the repo

The maintainers included bin/setup. Open it to see how it's meant to be run: bin/setup on GitHub.

Will it work on my device?

Yes, it runs on macOS

  • You'll build it yourself with Ruby.
  • It also needs MariaDB running (Docker handles this).
Checking for

7 steps on macOS

  1. Clone the repository

    Needs Git: xcode-select --install

    git clone https://github.com/postalserver/postal.git
    cd postal
  2. Install the required runtimes

    Ruby 3.4.6

    brew install rbenv ruby-build
    rbenv install --skip-existing
  3. Start backing services

    Needs: MariaDB

    brew install --cask docker  # Docker Desktop
    docker compose -f docker-compose.yml up -d
    If you see Cannot connect to the Docker daemon: start Docker Desktop (or the Docker service) first.
  4. Install dependencies

    bundle install
  5. Set up the database / app

    bin/rails db:prepare
  6. Run it

    bin/dev
  7. Run the tests

    bin/rails test

Did you get it running?

No reports for macOS yet.

Still stuck? Get a written guide

Claude reads the 8 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.