Cpanel Installation

  • After upload the zip file to cpanel extract it. Point your domain document root to application_root_directory/public directory. If you are setup application for your default/main domain then you have to add a extra .httaccess file to re-direct webserver to public directory. example .httaccess
    <IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteCond %{REQUEST_URI} !^public
      RewriteRule ^(.*)$ public/$1 [L]
    </IfModule>
    
  • If you get fresh database file cloudschool-v3.0.0-fresh.sql then create database and import that file. If you don't get sql file then generate one from laravel migration in you local development environment. Export that database schema and import it to your cpanel database.

  • Now edit .env file for your neccessary changes and save it.

  • Give webserver user write permission to storage directory
  • Visit your domain and you will see a login or website home page. If you don't see the page then check your webserver error log. Or set app_debug value to true in .env file to debug the error.
  • In the bottom of .env file have a settings about development. DEVELOPER_MODE_ENABLED set this setting to true and save the file
  • For image load perfectlly we need to link storage/app/public directory to public/storage now visit your_domain/make-link/007 url in your browser. This will link the directory.
  • Application need some database triggers. To create those triggers under the database username that you set up in .env file, you need to visit your_domain/create-triggers/007 url in your browser.
  • Finally you need to clear the application cache. for this visit your_domain/cache-clear/007 url in your browser.
  • Now in the bottom of .env file set DEVELOPER_MODE_ENABLED to false and save the file

results matching ""

    No results matching ""