Skip to content

Latest commit

 

History

History
121 lines (81 loc) · 5.91 KB

README.md

File metadata and controls

121 lines (81 loc) · 5.91 KB

Laravel Logo

Build Status Total Downloads Latest Stable Version License

Для проекта необходима версия PHP 8.2

Start via Docker + Linux:

  1. Открыть терминал в Linux:
  • Выполнить команду: sudo nano /etc/hosts
  • Добавить хост для проекта: 127.0.0.1 endless-profile.loc
  • Сохранить изменения и выйти сочетаниями клавиш: "CTRL+X" ---> "Y" ---> "Enter";
  • Закрыть терминал;
  1. Установить "Make" для Linux, чтобы работали команды из Makefile (пропустить, если уже есть):
  • sudo apt-get update
  • sudo apt-get -y install make
  1. Открыть терминал в PhpStorm (в корне проекта) и выполнить следующие make команды:
  • make build-containers
  • make build-project
  • make build-database
  1. Перейти в админ панель: http://endless-profile.loc/login
  1. Настроить X-Debug в PhpStorm:
  • Перейти в File ---> Settings ---> PHP>Debug;
  • В пункте Max.simultaneous connections указать "1" (по умолчанию указано "3");
  • В пункте Xdebug у поля Debug port через "," дописать порт 9001 (если его там не было);
  • Нажать кнопку Apply и OK;

Start via Devilbox (inside PHP container):

  1. composer install

  2. php artisan key:generate

  3. php artisan migrate:fresh --seed

  4. php artisan storage:link

  5. php artisan l5-swagger:generate (если нужно обновить документацию API)

Очистка кэша (полезные команды)

  1. php artisan cache:clear
  2. php artisan config:clear
  3. php artisan route:clear

Генерация класса оптимизации

  • php artisan optimize

Релизы

  • release/1.0.0 - init releases

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.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.

If you don't feel like reading, Laracasts can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Partners program.

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 taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

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