Skip to content

LLMPlus-ai/solotive.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Solotive.com - Business Operating System for Solopreneurs

Overview

Solotive is a complete business operating system designed for one-person businesses, featuring Notion templates, automation scripts, industry-specific packages, and comprehensive business tools with Supabase authentication and Stripe payments.

πŸ—οΈ Project Structure

solotive.com/
β”œβ”€β”€ index.html              # Main landing page with Stripe integration
β”œβ”€β”€ portal.html             # Member portal for downloads
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ stripe_handler.py   # Payment processing & customer management
β”‚   └── requirements.txt    # Python dependencies
β”œβ”€β”€ products/               # Core product resources (25+ files)
β”œβ”€β”€ industries/             # Industry-specific packages (6 complete)
β”œβ”€β”€ assets/
β”‚   └── portal.js          # Portal functionality
└── .env.example           # Environment configuration template

πŸš€ Quick Deployment Guide

Prerequisites

  • Python 3.8+
  • Node.js 14+ (optional for asset building)
  • Stripe account with products configured
  • Web hosting (Vercel, Netlify, or traditional hosting)

Step 1: Clone and Setup

# Clone the repository
git clone https://github.com/yourusername/solotive.git
cd solotive

# Set up Python environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r backend/requirements.txt

# Copy environment variables
cp .env.example .env
# Edit .env with your actual keys

Step 2: Configure Stripe

  1. Create products in Stripe Dashboard:

    • Plus Package: $97 one-time
    • Pro Package: $297 one-time
  2. Get your Stripe keys:

    • Publishable key (already in HTML)
    • Secret key (add to .env)
    • Webhook secret (add to .env)
  3. Set up webhook endpoint:

    • URL: https://yourdomain.com/webhook/stripe
    • Events: checkout.session.completed

Step 3: Deploy Frontend

Option A: Vercel (Recommended)

# Install Vercel CLI
npm i -g vercel

# Deploy
vercel --prod

Option B: Netlify

# Drag and drop in Netlify dashboard
# Or use CLI:
netlify deploy --prod

Option C: Traditional Hosting

  • Upload all files except /backend to your web root
  • Ensure .htaccess or server config allows clean URLs

Step 4: Deploy Backend

Option A: Heroku

# Create Procfile
echo "web: gunicorn backend.stripe_handler:app" > Procfile

# Deploy
heroku create solotive-backend
heroku config:set STRIPE_SECRET_KEY=sk_live_xxx
git push heroku main

Option B: AWS Lambda

# Use Zappa for serverless deployment
pip install zappa
zappa init
zappa deploy production

Option C: Digital Ocean App Platform

# app.yaml
name: solotive-backend
services:
- name: api
  github:
    repo: yourusername/solotive
    branch: main
  source_dir: backend
  http_port: 5000
  run_command: gunicorn stripe_handler:app

πŸ“¦ What's Included

Frontend Pages

  • Landing Page (index.html): Sales page with Stripe buy buttons
  • Member Portal (portal.html): Download center for customers
  • Portal JavaScript (assets/portal.js): Client-side functionality

Backend Services

  • Payment Processing: Stripe webhook handling
  • Customer Management: SQLite database for tracking
  • Download Management: Secure file delivery
  • Email Notifications: Welcome emails with access

Content Resources

  • 6 Industry Packages: Consulting, E-commerce, Content Creation, Web Dev, Marketing, Coaching
  • 25+ Core Templates: Planning, financial, marketing, automation
  • Python Scripts: Analytics, pricing calculator, automation tools
  • 500+ Total Files: Everything needed for a one-person business

πŸ”§ Configuration

Environment Variables

# Stripe
STRIPE_SECRET_KEY=sk_live_xxx
STRIPE_WEBHOOK_SECRET=whsec_xxx

# Email (SendGrid)
SENDGRID_API_KEY=SG.xxx
FROM_EMAIL=support@solotive.com

# Security
SECRET_KEY=generate-random-key
JWT_SECRET=another-random-key

# Database
DATABASE_URL=sqlite:///customers.db

Customization

  1. Update branding in HTML/CSS
  2. Modify email templates in stripe_handler.py
  3. Add/remove resources in portal.html
  4. Customize industry packages as needed

🚨 Security Considerations

  1. API Keys: Never commit real keys to git
  2. File Access: Implement proper authentication
  3. Rate Limiting: Add to prevent abuse
  4. HTTPS: Always use SSL in production
  5. CORS: Configure appropriately

πŸ“Š Analytics & Tracking

Add these to track performance:

<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX"></script>

<!-- Facebook Pixel -->
<script>!function(f,b,e,v,n,t,s){...}</script>

<!-- Hotjar -->
<script>(function(h,o,t,j,a,r){...})</script>

πŸ› οΈ Maintenance

Daily

  • Monitor Stripe webhooks
  • Check error logs
  • Review customer support

Weekly

  • Backup customer database
  • Update content if needed
  • Review analytics

Monthly

  • Security updates
  • Performance optimization
  • Content additions

πŸ“§ Support

For customer support:

For technical issues:

  • Check logs in backend
  • Verify Stripe webhook status
  • Test download links

πŸš€ Scaling

When you reach 1000+ customers:

  1. Migrate from SQLite to PostgreSQL
  2. Implement Redis caching
  3. Use CDN for downloads
  4. Add customer support system
  5. Consider microservices architecture

πŸ“„ License

Copyright 2024 Solotive. All rights reserved.


Built with ❀️ for solopreneurs worldwide.

About

Complete Business Operating System for Solopreneurs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors