Skip to content

pullstackdevv/laravel-mix-inertia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š VPS Deployment Documentation Website

Built with Laravel + Inertia + Vue 3 + Tailwind CSS

A modern, clean documentation website for VPS deployment setup using Ubuntu 22.04 LTS with aaPanel, Laravel, React, Docker services, and more.

🎯 Overview

This project provides a comprehensive, interactive documentation site for:

  • Ubuntu 22.04 LTS with aaPanel control panel
  • Laravel + React (Inertia.js) applications
  • Docker services (Grafana, Jenkins, n8n)
  • Nginx web server with SSL
  • MariaDB database

✨ Features

  • βœ… Interactive Documentation - Click-to-copy command boxes
  • βœ… Clean UI - Modern design with Tailwind CSS
  • βœ… Responsive - Works on desktop, tablet, and mobile
  • βœ… Sidebar Navigation - Easy access to all sections
  • βœ… Service Links - Direct access to deployed services
  • βœ… System Requirements - Clear specification of all requirements
  • βœ… Step-by-Step Guides - 7 comprehensive deployment steps

πŸ“– Pages

Home Page (/)

  • Landing page with overview
  • Feature highlights
  • Services overview
  • Call-to-action buttons

Documentation Page (/docs)

  • Overview - Project description
  • System Requirements - All required software
  • Step 1 - System Preparation
  • Step 2 - aaPanel Setup
  • Step 3 - Laravel + React Deployment
  • Step 4 - Sales Management App Deployment
  • Step 5 - Docker Services (Grafana, n8n, Jenkins)
  • Step 6 - DNS Records Configuration
  • Step 7 - Finalization
  • Access Summary - Service URLs and descriptions

πŸš€ Installation

# Install dependencies
composer install
npm install

# Generate app key
php artisan key:generate

# Build assets
npm run dev

# Start development server
php artisan serve

πŸ“¦ Tech Stack

  • Backend: Laravel 10
  • Frontend: Vue 3 + Inertia.js
  • Styling: Tailwind CSS
  • Build Tool: Laravel Mix
  • Database: MariaDB (configured)
  • Web Server: Nginx

🎨 Customization

Update Service URLs

Edit /resources/js/Pages/Documentation.vue and modify the service URLs:

<ServiceLink 
  title="Your Service" 
  url="https://your-domain.com" 
  desc="Description" 
  icon="πŸš€" 
/>

Modify Commands

Update command boxes in the documentation:

<CommandBox cmd="your-command-here" />

Change Colors

Tailwind CSS classes are used throughout. Modify color schemes in sections:

<div class="border-l-4 border-blue-500">...</div>

πŸ“ Documentation Structure

Each section includes:

  • Icon - Visual identifier
  • Title - Section name
  • Content - Detailed information
  • Commands - Copy-to-clipboard commands
  • Code blocks - Configuration examples

πŸ”— Routes

GET  /      β†’ Home page
GET  /docs  β†’ Documentation page

πŸ’‘ Features

Copy-to-Clipboard

Click any command box to copy it to clipboard:

<CommandBox cmd="apt update && apt upgrade -y" />

Responsive Sidebar

Sticky navigation sidebar that follows scroll:

<aside class="sticky top-24">...</aside>

Service Cards

Clickable cards linking to deployed services:

<ServiceLink 
  title="Grafana" 
  url="https://grafana.pullstack.cloud" 
  desc="Monitoring Dashboard" 
  icon="πŸ“ˆ" 
/>

πŸ—οΈ Deployment

Production Build

npm run production

Nginx Configuration

server {
    listen 80;
    listen 443 ssl http2;
    server_name your-domain.com;
    root /www/wwwroot/your-app/public;
    index index.php index.html;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        include enable-php-83.conf;
    }
}

πŸ“‹ Sections Overview

Section Purpose Content
Overview Introduction Project description
Requirements Prerequisites System specs
Step 1 System Setup Ubuntu packages & Docker
Step 2 Panel Setup aaPanel installation
Step 3 Laravel Deploy Main app deployment
Step 4 Sales App Secondary app deployment
Step 5 Docker Container services
Step 6 DNS Domain configuration
Step 7 Finalization Service restart
Access Summary Service URLs

πŸ”’ Security

  • All commands use proper permissions
  • SSL/HTTPS configuration included
  • Firewall port specifications
  • Database security best practices

πŸ“± Responsive Design

  • Desktop: Full 3-column layout (sidebar + content + spacing)
  • Tablet: 2-column layout with collapsible sidebar
  • Mobile: Single column with sticky header

πŸŽ“ Learning Resources

πŸ“„ License

MIT License - Feel free to use and modify

🀝 Contributing

Contributions are welcome! Please feel free to submit pull requests.

πŸ“ž Support

For issues or questions, please open an issue in the repository.


Last Updated: November 2025
Version: 1.0.0
Status: βœ… Complete and Ready for Use

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published