Cpanel Installation
- After upload the zip file to cpanel extract it. Point your domain document root to application_root_directory/publicdirectory. If you are setup application for your default/main domain then you have to add a extra.httaccessfile to re-direct webserver topublicdirectory. 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.sqlthen 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 - .envfile for your neccessary changes and save it.
- Give webserver user write permission to  storagedirectory
- 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_debugvalue totruein.envfile to debug the error.
- In the bottom of .envfile have a settings about development.DEVELOPER_MODE_ENABLEDset this setting totrueand save the file
- For image load perfectlly we need to link storage/app/publicdirectory topublic/storagenow visityour_domain/make-link/007url 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 .envfile, you need to visityour_domain/create-triggers/007url in your browser.
- Finally you need to clear the application cache. for this visit your_domain/cache-clear/007url in your browser.
- Now in the bottom of .envfile setDEVELOPER_MODE_ENABLEDtofalseand save the file