/freedive

Dive into FreeBSD

Primary LanguageSCSSBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Freedive

Dive into FreeBSD

Freedive turns your fresh, vanilla FreeBSD install into a file server and an app host.

Status: Planning - features mentioned in this document might make it to v1.0, or they might not.

Features

  • System
    • Preferences
    • Packages
    • Services
    • Secrets
    • Security
    • Alerts
    • Logs
    • Metrics
    • Backups
    • Software update
  • Cluster
    • Current node
    • Connected nodes
    • Manage nodes
  • Network
    • Local
    • Private
    • Public
    • Domains
    • Endpoints
  • Data
    • Local
    • Remote
    • Share
    • Sync
  • Compute
    • Apps
    • Services
    • Functions
    • Tasks

Develop

Start Freedive server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Deploy

Create package

mix package.freebsd

Install

pkg install freedive-x.x.x.pkg

Initialize

service freedive enable
service freedive init

Configure

vi /usr/local/etc/freedive/freedive.env

Modify HOST, BIND and PORT variables to taste.

Start

service freedive start

Access

Visit https://localhost:6443 from your browser from same machine, or https://<HOST>:<PORT> from remote machine.