- Run as Administrator - Right-click
install.batand select "Run as administrator"
install.bat- Start Services
start.bat- Open Setup Wizard
- Go to: http://localhost:8000/setup
- Follow the setup wizard steps
- Make scripts executable
chmod +x install.sh start.sh- Run installation
./install.sh- Start services
./start.sh- Open Setup Wizard
- Go to: http://localhost:8000/setup
- Follow the setup wizard steps
Before running the installation, make sure you have:
- PHP 8.2+ - Download
- Composer - Download
- Node.js 18+ - Download
- MySQL/PostgreSQL (optional, can use SQLite)
- .NET SDK 8.0+ (optional, for AI Manager) - Download
php -v # Should show PHP 8.2 or higher
composer -V # Should show Composer version
node -v # Should show Node.js v18 or higher
npm -v # Should show npm version
dotnet --version # Should show .NET SDK 8.0 or higher (optional)If the automated scripts don't work, follow these steps:
cd laravel-backend
# Install PHP dependencies
composer install
# Install JavaScript dependencies
npm install
# Build frontend assets
npm run build
# Setup environment
cp .env.example .env
php artisan key:generate
# Create storage directories
mkdir -p storage/framework/{sessions,views,cache}
chmod -R 775 storage bootstrap/cacheEdit laravel-backend/.env:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=postxagent
DB_USERNAME=root
DB_PASSWORD=your_passwordThe setup wizard will handle this, but if needed manually:
php artisan migrateTerminal 1 - Vite Dev Server:
cd laravel-backend
npm run devTerminal 2 - Laravel Server:
cd laravel-backend
php artisan servecd AIManagerCore
dotnet build --configuration ReleaseThe first time you access the application, you'll be redirected to the Setup Wizard:
- Overview of features
- System requirements check
- Choose database type (MySQL, PostgreSQL, SQLite)
- Enter connection details
- Test connection
- Auto-run migrations
- Configure Ollama (local AI) - Recommended
- Configure Google Gemini (optional)
- Configure OpenAI GPT-4 (optional)
- Configure Anthropic Claude (optional)
- Review settings
- Quick tips for getting started
If you need to run the setup wizard again:
# Via API (local environment only)
curl -X POST http://localhost:8000/setup/reset
# Or delete the setup file manually
rm laravel-backend/storage/setup-complete.jsonSolution: Run the Vite dev server or build assets:
cd laravel-backend
npm run dev # For development
# OR
npm run build # For productionSolution: Clear and rebuild autoload files:
cd laravel-backend
composer dump-autoload
php artisan config:clear
php artisan cache:clearSolution: Check your database credentials in .env file and make sure MySQL/PostgreSQL is running.
Solution: Fix permissions:
chmod -R 775 laravel-backend/storage
chmod -R 775 laravel-backend/bootstrap/cacheSolution: Kill existing processes:
# Windows
netstat -ano | findstr :8000
taskkill /PID <PID> /F
# Linux/macOS
lsof -ti:8000 | xargs kill -9After installation:
| Service | URL | Description |
|---|---|---|
| Setup Wizard | http://localhost:8000/setup | First-run setup |
| Web Dashboard | http://localhost:8000 | Main application |
| API | http://localhost:8000/api | REST API |
| AI Manager | http://localhost:5000 | C# AI Manager API (optional) |
| Vite Dev Server | http://localhost:5173 | Frontend hot reload (dev only) |
- PHP dependencies via Composer
- JavaScript dependencies via npm
- Vue.js 3 + Vite
- Tailwind CSS
- Database migrations
- Setup wizard
- .NET 8.0 application
- WPF UI (Windows)
- Worker services
- AI orchestration
After installation:
- ✅ Configure social media accounts in Settings
- ✅ Test AI providers in AI Providers page
- ✅ Create your first campaign
- ✅ Generate AI content
- ✅ Schedule posts
If you encounter issues:
-
Check the logs:
- Laravel:
laravel-backend/storage/logs/laravel.log - Vite: Console output
- AI Manager: Windows Event Viewer
- Laravel:
-
Clear all caches:
php artisan cache:clear php artisan config:clear php artisan route:clear php artisan view:clear
-
Reinstall dependencies:
rm -rf node_modules vendor npm install composer install
Version: 1.0.0 Last Updated: December 2025