Install the Naara platform on your own hosting
For white-label owners. Upload the platform to cPanel or a VPS, run the installer, and sign in. No coding.
This guide is for owners of a white-label licence who run their own Naara platform (your brand, your prices) on their own hosting. If you only want a website, you do not need it: read Start here.
The platform installs like a CodeCanyon product: upload, open your domain, and a web wizard walks you through Welcome, Server Requirements, Database, Done. It runs on shared cPanel hosting and on a VPS; the wizard configures the right drivers for the one you choose.
#What your server needs
| Requirement | Minimum | Notes |
|---|---|---|
| PHP | 8.2 or newer (8.3 recommended) | The wizard checks the extensions live |
| PHP extensions | pdo, mbstring, openssl, curl, gd, zip, bcmath, fileinfo, intl |
|
| MySQL | 8.0 (or MariaDB 10.6) | utf8mb4 |
| Web server | Apache or Nginx | HTTPS strongly recommended |
| Writable folders | storage/ and bootstrap/cache/ |
The wizard verifies |
| Cron | One entry, every minute | Required. See Cron and queue |
| Redis | Optional on a VPS | Powers queue, cache and Horizon |
You do not need Node or npm on the server. The compiled front end ships in the package.
#Path A: shared hosting with cPanel
#1. Create the database
In cPanel open MySQL Databases. Create a database, create a user, and add the user to the database with All Privileges. Copy the exact names cPanel shows.
Careful cPanel adds a prefix to names and can shorten long usernames. Copy the username cPanel shows, not the one you typed. A mismatch here is the most common "installer cannot connect to the database" problem.
#2. Upload the files
In File Manager, turn on Show Hidden Files, then upload the release zip into your domain's folder (usually public_html) and Extract. The hidden .htaccess file must be there; it is what routes your domain into Laravel's public/ folder. For extra safety, you can upload above public_html and point the domain's document root at the project's public/ folder instead.
vendor/ must be present in the package. If it is not, run composer install --no-dev in cPanel's Terminal.
#3. Permissions
Open Terminal and run bash set-permissions.sh. With no Terminal, set storage and bootstrap/cache to 755 (775 if PHP says it still cannot write). Never use 777.
#4. Run the installer
Open https://yourdomain.com/install.
- Welcome. Continue.
- Server requirements. Every required row should be green. A red row is usually a PHP version or extension: fix it in cPanel, Select PHP Version and reload.
- Database. Choose Shared / cPanel, enter the database name, user, password (host is usually
localhost), your site URL (no trailing slash) and app name. Press Install. - Done. The installer writes
.env, builds the database, adds defaults, links storage and caches config. Copy the cron line shown here.
Careful If the installer fails halfway, MySQL does not undo the half-built tables. Before you retry, delete and recreate the database.
#5. Add the cron job
In cPanel open Cron Jobs, choose Once Per Minute, and paste the command from the Done screen. Then read Cron and queue.
#6. Sign in and change the password
Sign in with the default admin shown on the Done screen and change the password immediately (Account, Security).
#Path B: a VPS
On a plain Ubuntu server with Nginx or Apache, PHP 8.2+, MySQL and Redis:
git clone <your-repo> naarasim && cd naarasim
composer install --no-dev --optimize-autoloader
cp .env.example .env
php artisan key:generate
# set APP_URL, DB_*, REDIS_* and mail in .env
# set QUEUE_CONNECTION=redis, CACHE_STORE=redis, SESSION_DRIVER=redis
php artisan migrate --force
php artisan db:seed --force
php artisan storage:link
php artisan config:cache && php artisan route:cache && php artisan view:cache
Point your web server's document root at the public folder. You can also open /install on the VPS and choose the VPS profile, which does the same for you.
Run the queue as a daemon under Supervisor (Horizon):
[program:naarasim-horizon]
process_name=%(program_name)s
command=php /var/www/naarasim/artisan horizon
autostart=true
autorestart=true
user=www-data
redirect_stderr=true
stdout_logfile=/var/www/naarasim/storage/logs/horizon.log
stopwaitsecs=3600
sudo supervisorctl reread && sudo supervisorctl update && sudo supervisorctl start naarasim-horizon
Add the one cron line and read Cron and queue.
#Going live
- Admin, API keys: add provider, payment and mail keys. Start with sandbox keys. Blank keys simply show "Coming soon".
- Run a catalogue sync so real plans and prices replace the demo data.
- Object storage (recommended): set it up so uploads and backups do not sit on local disk.
- Test one sandbox top-up end to end.
- If your domain is behind Cloudflare, read the Cloudflare setup note first: its bot protection can silently block payment webhooks.