Skip to content

Ngochiendev/ChatCine-backend

Repository files navigation

Laravel Logo

Build Status Total Downloads Latest Stable Version License

This image is modified version of laravel to run on Azure webApp service (Nginx configuration)

Steps to install laravel on Azure webApp service

  1. create the azure webApp (code php 8.2).
  2. ssh to the webApp :
  • make a copy of the default file in /etc/nginx/sites-available/ cp /etc/nginx/sites-available/default /home/site/default
  • edit the copied version and change the root to /home/site/wwwroot/public, save and exit nano /home/site/default
  1. Azure installs git repos from the Deployment Center totally different (GitHub vs External Git ), for me the only way it works if you've forked the repo to your github account and pull it to your webApp using the GitHub option under the CI/CD in the Source section.

Note:Definatly you don't have to fork my repo if you want to pull a fresh one from laravel you'll just need to run the command in the startup.sh file separately, also you can delete the .htaccess file. Run ssh cp /home/site/default /etc/nginx/sites-available/default service nginx reload

cd /home/site/wwwroot && cp -n .env.example .env 
php artisan key:generate

-> resetart nginx
  1. Once you've linked your repo from the Deployment Center this will kick a Github action in your account for building and deploying.
  2. Navigate to Configuration -> General setting -> set the startup command to /home/site/wwwroot/startup.sh and Save, check your website and it should be up and running (Make sure browser session is not cached).

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

ChatCine-backend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages