Quick Start
Install Stilmerce on a Linux server in minutes. Fill in your details and copy the generated commands.
Quick Start
Fill in your server details once — every command updates automatically. Then follow the 4 steps in order.
Fill in your server details once. All commands below update automatically.
Step 1 — Upload ZIP to Server
scp stilmerce-v1.0.0.zip ubuntu@your-server-ip:/tmp/Step 2 — Create Config File (on server)
SSH into your server and paste this command. It creates the config file the installer reads — no interactive prompts.
cat > /tmp/stilmerce-install.env <<'EOF'
SSL_EMAIL=admin@example.com
APP_API_PORT=4000
APP_FRONT_PORT=3000
APP_ADMIN_PORT=3001
HEALTH_ENABLED=yes
SWAGGER_ENABLED=no
FRONT_DOMAIN=shop.example.com
ADMIN_DOMAIN=admin.example.com
API_DOMAIN=api.example.com
ADMIN_EMAIL=admin@example.com
ADMIN_FIRST_NAME=Admin
ADMIN_LAST_NAME=User
ADMIN_PASSWORD=StrongPass123
DB_NAME=stilmerce
DB_USER=stilmerce_user
DB_PASS=StrongDbPass123
REDIS_ENABLED=yes
EOFStep 3 — Run the Installer
ssh ubuntu@your-server-ip
sudo apt update && sudo apt install -y unzip curl ca-certificates
unzip stilmerce-v1.0.0.zip
cd stilmerce-v1.0.0
bash install-stilmerce.sh -- --config=/tmp/stilmerce-install.envThe installer installs dependencies, configures PostgreSQL & Redis, builds the apps, runs migrations, creates your admin account, sets up PM2 & Nginx, and provisions SSL.
Step 4 — Verify
sudo pm2 ls
sudo nginx -t
systemctl is-active nginx postgresql redis-server
curl -s https://api.example.com/healthWhat the Installer Does
- Validates OS, ports, and DNS
- Installs system packages (Nginx, PostgreSQL, Redis, Node.js, PM2, Certbot)
- Creates the database and runs migrations
- Creates the initial admin account
- Builds API, Admin, and Storefront apps
- Starts services with PM2
- Configures Nginx reverse proxy
- Requests SSL certificates (skipped if DNS not ready)
- Runs a health check and prints your store URLs
After Install
Your store is ready at:
| URL | Description |
|---|---|
https://shop.example.com/en | Storefront |
https://admin.example.com/admin | Admin dashboard |
https://api.example.com/health | API health check |
For local or LAN testing without a domain, pass --skip-ssl to the install command and use domains like api.localtest.me. Add the server IP to your /etc/hosts file.
Local / LAN Install (no DNS)
bash install-stilmerce.sh --skip-ssl -- --config=/tmp/stilmerce-install.envWhen ready, re-run the installer without --skip-ssl to provision SSL automatically.