Guide
Installation
Admin Setup
AI Tools
API
Troubleshooting
Guide
Installation
Admin Setup
AI Tools
API
Troubleshooting
  • Getting Started

    • Quick Start
    • Installation
    • Admin Setup
    • Credits and Billing
    • AI Tools
    • AI Clone
    • Text to Voice and Speech to Text
    • API Reference (Summary)
    • Integrations
    • Storage and Media
    • Security and Maintenance
    • Troubleshooting

Admin Setup

After installation, configure AiDone from the admin panel.

1) General settings

Go to Admin -> System Setting:

  • System name and company name
  • Email address and phone
  • Timezone
  • Default language and currency

2) AI settings

Go to:

  • Admin -> AI Providers to add provider keys Admin Dashboard

  • Admin -> AI Models to enable models and set credits Admin Dashboard

  • Admin -> AI Services if you want to update service labels Admin Dashboard

3) Website content

Go to Admin -> Website Setting:

  • Home page sections
  • Menus and footer
  • SEO and tracking (Google, Facebook pixel)
  • Default signup credits (Theme Options)

4) Email

Go to Admin -> Email:

  • Configure SMTP or another mail driver
  • Send a test email to confirm delivery

5) Payment gateways

Go to Admin -> Payment Gateway and enable the gateways you need. Configure each gateway key and test it with a small amount.

6) Storage

Go to Admin -> Storage Setting:

  • Choose local, S3, Wasabi, or DigitalOcean
  • Save and test by generating an image

7) Staff and roles

Go to Admin -> Staff:

  • Create staff accounts
  • Assign roles and permissions

8) Paid users list

Go to Admin -> Paid Subscribers to see all users with completed payments.

9) Queue worker

AI jobs run in the background. Make sure a queue worker is running.

  • Set QUEUE_CONNECTION=database or redis in .env
  • If you use database, run migrations so the jobs table exists (php artisan migrate)
  • Production: keep a worker running 24/7 (hosting queue UI, Supervisor, systemd, etc.)

Quick test (manual)

From the project root:

php artisan queue:work

Stop with Ctrl+C. This is fine for development only.

Supervisor (Linux production)

Supervisor restarts the worker if it crashes and starts it again after a server reboot.

  1. Install Supervisor (example on Ubuntu/Debian):
sudo apt update && sudo apt install -y supervisor
  1. Create a program file (adjust paths and user to match your server):

/etc/supervisor/conf.d/aidone-queue.conf

[program:aidone-queue]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/aidone/artisan queue:work database --sleep=3 --tries=3 --max-time=3600
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=www-data
numprocs=1
redirect_stderr=true
stdout_logfile=/var/www/aidone/storage/logs/queue-worker.log
stopwaitsecs=3600

Notes:

  • Replace /var/www/aidone with your real project path (where artisan lives).
  • database is the queue connection name; if you use redis, change the command to queue:work redis ....
  • user=www-data should be the same user your web server uses to read the project (sometimes nginx, apache, or a deploy user).
  1. Reload Supervisor:
sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start aidone-queue:*
  1. Check status:
sudo supervisorctl status aidone-queue:*

You should see RUNNING.

After each deployment

Laravel workers do not reload new code automatically. After you deploy new PHP code, run:

php artisan queue:restart

Supervisor will restart the worker process and pick up the changes.

Windows / local (Herd, XAMPP)

Supervisor is Linux-oriented. On Windows, run php artisan queue:work in a terminal when testing, or use your host’s equivalent (some panels offer a “queue worker” service).

Prev
Installation
Next
Credits and Billing