04. Installing Music Engine - ninacoder-info/music-engine-web-wiki GitHub Wiki

Important note for customer using cPanel

If you just switch to php 7.4 using cPanel MultiPHP Manager, please wait few hours for cPanel apply it completely (some report it take 2 hours) or contact your hosting support to make sure by restarting the server. Other wise script will show 500 error and you can't install.

Drop me an email to [email protected] if you having trouble while installing the script.

Automatic install

Check the video how to install: https://youtu.be/GXV1KwFa15w

How to install use cPanel: https://youtu.be/C3BH8AaJ2u4

  • Step 1: Extract and Upload "Script" folder on to your hosting.

Unzip the downloaded archive package. Rename the Script directory to your desired directory name and upload the directory to your web server through FTP or Control Panel. Requirements

  • Step 2: Creating Database

Create a database for MusicEngine through your server control panel. If your server has phpMyAdmin, then you can also create a database using phpMyAdmin.

  • Step 3: Run Installation Wizard

Go to your website address, then you'll see an installation wizard.

Note (not for cPanel user): You should configure your web server's document / web root to be the public directory.
Note for nginx: Directories within the storage (storage/framework/views, storage/logs) and the bootstrap/cache directories should be writable by your web server or Application will not run.

Admin Panel

Admin panel is the place where you can manage all the music like genre, mood, album, artist, categories, pages, and much more. You can also customize the look of your site from the admin panel. To access the admin panel add /admin after your website address. For example if your website address is "www.example.com", then your admin panel is located at "www.example.com/admin".

After installation done, don't forget to config your php.ini look like the image bellow

Install in a sub directory. For example if you are going to install script in a sub-directory, such as: http://yoursite.com/listen.

Step 1: Follow all above step to get script installed in your system.

Step 2: open .env file (at the root of the project) this line after APP_DEBUG

ASSET_URL=http://yoursite.com/listen

Don’t forget to correct your site url

APP_URL=http://yoursite.com/listen

Open app/Providers/RouteServiceProvider.php search for mapWebRoutes, edit it

Before

protected function mapWebRoutes()
{
    Route::middleware('web')
         ->namespace($this->namespace)
         ->group(base_path('routes/web.php'));
}

After

protected function mapWebRoutes()
{
    Route::middleware('web')
        ->prefix('listen')
        ->namespace($this->namespace)
        ->group(base_path('routes/web.php'));
}

Step 3: Open config/self-update.php, look for exclude_files

Add this line at the bottom of the array:

'app/Providers/RouteServiceProvider.php'

Click to Utilities (left sidebar) -> Terminal -> Other (button) -> select laroute:generate -> run

Click to Utilities (left sidebar) -> Terminal -> Other (button) -> select storage:link -> run