Installation
Installation runs through a wizard in your browser. Before you start, check the requirements and create an empty database and database user.
Step by step
- Point your domain's document root to the project's
publicfolder. - Select PHP 8.2 or later on the server and enable the required extensions.
- Extract the
meganot-production-build.zippackage into the application folder. - Give
storageandbootstrap/cachewrite permission. - Open
https://yourdomain.com/installin your browser. - Enter the database details and verify the connection.
- Create the first admin account. You enter the password twice.
- When the wizard finishes, you are signed in to the
/adminpanel automatically.
Warning: Do not copy
.env.exampleto.envby hand. A secure.envfile and a unique application key are generated automatically on first launch.
If it went right: the /admin panel opens and the storage/installed.lock file is created. While this file exists, the /install address is closed.
After installation
If you can run commands on the server, build the caches:
php artisan config:cache
php artisan route:cache
php artisan view:cache
Then set up cron jobs and email.
If the document root cannot be changed
Use this path only if your host does not let you change the document root.
- Extract the package directly into the domain's root.
- Turn on Show Hidden Files in File Manager.
- Confirm that the root
index.phpand.htaccessfiles were transferred. - Open the
/installaddress.
This layer turns off directory listing and blocks access to the application's private folders.
Repairing a failed installation
- Extract the new package into the existing project folder, overwriting the files.
- Delete the
storage/installed.lockfile. You do not need to delete the database. - Open
/installand verify the database connection. - Enter the admin email and a new password. If you enter the same email, the existing account is updated as admin.
Warning: Take a backup before doing this.