Getting Started

Install and configure your Spwig e-commerce platform.

Editions

Spwig is free and open source under AGPL-3.0-or-later. Just install it — no licence key needed for the Community edition. Optional Pro and Enterprise licence keys add hosted services (hosted email, higher rate limits, priority support, SSO) on top of the free core.

Community — Free

Full platform, POS, page builder, themes. AGPL-3.0. Self-host on your own infrastructure. No sign-up, no licence key, no fees.

Pro & Enterprise Licence Keys

Add Spwig-hosted email delivery, higher hosted-service rate limits, priority support, and SSO (Enterprise). Paid, launching alongside managed hosting.

System Requirements

Minimum

Resource Requirement
OSUbuntu 22.04+, Debian 12+, or any Linux with Docker support
CPU2 cores
RAM4 GB
Disk10 GB free
AccessRoot / sudo

Recommended (for production)

Resource Recommendation
CPU4 cores
RAM4 GB+
Disk40 GB+ SSD
NetworkPublic IP with ports 80 and 443 open

Dependencies

The installer checks for and can auto-install:

Quick Start

curl -fsSL https://spwig.com/install.sh | sudo bash

That's it. The installer handles everything: Docker setup, database, SSL certificates, and service configuration.

If you have a setup token from your purchase:

curl -fsSL https://spwig.com/install.sh | sudo bash -s -- --token=YOUR_TOKEN

What Gets Installed

Spwig runs as a set of Docker containers on your server:

Service Purpose
ShopDjango application server
PostgreSQLDatabase
RedisCaching and sessions
MinIOMedia file storage (S3-compatible)
NginxReverse proxy with SSL
CeleryBackground task workers
TranslatorAI-powered content translation
UpgraderAutomatic component updates

Installation Options

Interactive (default)

The installer walks you through each step:

curl -fsSL https://spwig.com/install.sh | sudo bash

With Domain

curl -fsSL https://spwig.com/install.sh | sudo bash -s -- \
  --domain=shop.example.com \
  [email protected]

Fully Automated (no prompts)

curl -fsSL https://spwig.com/install.sh | sudo bash -s -- \
  --domain=shop.example.com \
  [email protected] \
  --non-interactive

Dry Run (preview without changes)

curl -fsSL https://spwig.com/install.sh | sudo bash -s -- --dry-run

Download and Inspect First

curl -fsSL https://spwig.com/install.sh -o install.sh
less install.sh          # review the script
sudo bash install.sh

CLI Reference

Option Description
--token=JWTSetup token from purchase email
--domain=DOMAINDomain name for your store
--email=EMAILAdmin email (used for SSL and admin account)
--no-domainInstall without a domain (access via IP)
--mode=MODEForce mode: standalone, sidecar, or local
--port=PORTOverride HTTP port (default: 80)
--ssl-port=PORTOverride HTTPS port (default: 443)
--instance-id=IDUnique ID for multi-instance isolation
--skip-sslSkip SSL certificate setup
--version=VERInstall a specific Spwig version
--dry-runPreview the installation plan
--yes, -yAccept all prompts automatically
--non-interactiveNo prompts at all (for automation)
--help, -hShow help

Installation Modes

The installer auto-detects the best mode for your environment:

Standalone

Ports 80 and 443 are free. Spwig takes full control of web traffic with its own Nginx and SSL.

Sidecar

An existing web server (Nginx, Apache, Caddy) is detected. Spwig runs on alternate ports and provides a proxy config for your existing server.

Local

No public IP detected. Runs in development mode with DEBUG=true and a self-signed certificate at spwig.local.

After Installation

Default Credentials

Admin URLhttps://your-domain/admin/
Usernameadmin
PasswordGenerated during setup

Important: The installer generates a unique password and displays it once at the end of installation. Make sure to save it before closing the terminal.

Setup Wizard

On first login, the Setup Wizard guides you through:

  1. Store name and URL
  2. Contact information
  3. Currency and locale
  4. Payment methods

Go Live

Your store starts in maintenance mode. Visitors see a "Coming Soon" page until you're ready:

cd /opt/spwig && ./go-live.sh

Add a Domain Later

Installed without a domain? Add one anytime:

cd /opt/spwig && ./configure-domain.sh

Cloud Marketplace

Deploy with a single click on supported platforms:

Managing Your Installation

cd /opt/spwig

# View logs
docker compose logs -f shop

# Check service status
docker compose ps

# Restart all services
docker compose restart

# Stop everything
docker compose down

# Start everything
docker compose up -d

# Update to latest version
docker compose pull && docker compose up -d

Uninstall

cd /opt/spwig
docker compose down -v    # stop and remove containers + volumes
sudo rm -rf /opt/spwig    # remove installation directory

Warning: This permanently deletes all data including your database and media files. Back up first if needed.

Developer Program

Spwig itself is free (AGPL-3.0) — you already have full platform access from the moment you install it. The Spwig Developer Program adds early access to new features, integration guides, and a channel to build and publish for the marketplace.

Join the Developer Program →

Support