-
a single landing page to showcase the company's information in 3 different languages
- Includes an admin panel that gives you full control over the entire website and to Create, Edit, and Delete slide shows, services, team members, and partners. including the about section.
- The website is fully responsive for both desktop & mobile with PWA (Progressive Web App) enabled. Allowing visitors to install the website as an application on their smartphone.
- I have done a full server setup including setting up the Laravel project to be deployed through cPanel without having SSH access.
- SEO-friendly and Google indexing.
- The project configured for CPANEL installation, you do not have to worry about changing file paths. Also, you can serve it through Artisan command.
- You can follow this guide to learn more about how to deploy Laravel project through SSH access.
-
Don't forget to change the current working directory to
laravel
.cd laravel
-
Install and update required dependencies on your local machine.
composer install --no-dev -o
-
Install npm packages using yarn.
yarn
-
Clear cache and dump autoload.
yarn cache:clear composer dump-autoload -o
-
Cache the application and generate new app key.
composer run deploy
-
Do not forget to edit
.env
file with your information. -
Migrate and seed the database.
php artisan migrate --seed
-
Run Vite server and serve the laravel application. (requires two terminal)
yarn dev php artisan serve
-
Compress the project including both
laravel
andpublic_html
directory then upload it to CPANEL. -
Change permissions for the following folders.
sudo chmod 775 -R laravel/storage sudo chmod 775 -R laravel/bootstrap/cache # if you have ssh access, you may have to give ownership to nginx as well. sudo chown -R $USER:www-data storage sudo chown -R $USER:www-data bootstrap/cache
-
Visit the following path on your website to clear out the application cache. (You can change header authorization key in .env file)
https://website.com/config/cache
-
At config page, you can migrate and config your application.
https://website.com/config
-
The site should work with no problem!
Feel free to contribute to the project. Make sure to credit me :)