Getting Started
Welcome to SaleSpider! This guide will help you get up and running quickly.
Prerequisites
Before you begin, ensure you have:
- Docker 20.10+ with Docker Compose
- 4GB+ RAM available
- 10GB+ disk space
- Internet connection (for initial setup)
Quick Start
The fastest way to get SaleSpider running:
Step 1: Clone the Repository
git clone https://github.com/IdrisAkintobi/SaleSpider.git
cd SaleSpiderStep 2: Initial Setup
make setupThis command will:
- Make all scripts executable
- Create your
.envfile from the template - Validate your environment
Step 3: Configure Environment
Edit the .env file with your settings:
nano .envEssential settings to configure:
# Domain Configuration
DOMAIN=salespider.yourcompany.local
HOST_IP=auto # Will auto-detect
# Database Security
POSTGRES_PASSWORD=YourSecurePassword123!
# Application Security
JWT_SECRET=your-super-secret-jwt-key-min-32-characters-long
# Admin Account
SUPER_ADMIN_EMAIL=admin@yourcompany.com
SUPER_ADMIN_PASSWORD=SecureAdminPassword123!Step 4: Deploy
make deployThis will:
- Check system requirements
- Generate SSL certificates
- Create Docker volumes
- Start all services
- Run database migrations
- Seed initial data (required for application to function)
Deployment takes 2-5 minutes. The process automatically sets up the database and creates your admin account.
Step 5: Access SaleSpider
Once deployment is complete, access SaleSpider at:
- Local: https://localhost
- Network: https://YOUR_SERVER_IP
- Domain: https://salespider.yourcompany.local (if configured)
Note: You'll see an SSL certificate warning on first access. This is normal for self-signed certificates. Click "Advanced" → "Proceed to site".
First Login
Navigate to your SaleSpider URL
Log in with your admin credentials:
- Email: The
SUPER_ADMIN_EMAILyou configured - Password: The
SUPER_ADMIN_PASSWORDyou configured
- Email: The
You'll be taken to the dashboard
Next Steps
Now that SaleSpider is running, you can:
- Configure Settings - Customize application behavior
- Set Up Backups - Protect your data
- Add Users - Create staff accounts
- Add Products - Start managing inventory
- Record Sales - Begin tracking transactions
Common Commands
make status # Check service status
make logs # View logs
make restart # Restart services
make backup # Create manual backup
make help # Show all commandsChoosing Your Deployment Type
SaleSpider supports three deployment options:
🏠 Self-Hosted (Recommended for Offline Operation)
Best for:
- Stores with unreliable internet
- Complete data control requirements
- On-premises deployment needs
Features:
- ✅ Full offline operation
- ✅ Enterprise-grade backups
- ✅ Complete control
☁️ Hosted Database
Best for:
- Reliable internet connectivity
- Simplified maintenance
- Managed database services
Features:
- ✅ Managed backups
- ✅ Simplified setup
- ⚠️ Requires internet
🚀 Cloud Platforms
Best for:
- Zero infrastructure management
- Automatic scaling
- Global access
Features:
- ✅ Serverless deployment
- ✅ Auto-scaling
- ⚠️ Requires internet
Troubleshooting
Services Not Starting
# Check service status
make status
# View logs
make logs
# Check resource usage
docker statsSSL Certificate Warnings
This is normal for self-signed certificates. You can:
- Accept in browser (recommended for testing)
- Install certificate system-wide (recommended for production)
- Use Let's Encrypt (for public deployments)
See the SSL/HTTPS Setup section in the Deployment Guide for details.
Port Conflicts
If ports 80/443 are in use:
# Change ports in .env
HTTP_PORT=8080
HTTPS_PORT=8443
# Restart services
make restartGetting Help
Need assistance?
- 📖 Read the Docs - Comprehensive guides
- 💬 GitHub Discussions - Community support
- 🐛 Report Issues - Bug reports
- 📧 Contact - Direct support
What's Next?
- Deployment Guide - Detailed deployment instructions
- Configuration - All configuration options
- Features - Explore SaleSpider's capabilities
- Operations - Backup and maintenance