Skip to content

Larichev97/endless_profile_laravel_12

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Logo

Build Status Total Downloads Latest Stable Version License

The project requires PHP 8.2.24

Start via Docker + Linux:

  1. Open a terminal in Linux:
  • Run the command: sudo nano /etc/hosts
  • Add a host for the project: 127.0.0.1 endless-profile-v3.loc
  • Save the changes and exit with the keyboard shortcuts: CTRL+X ---> Y ---> Enter;
  1. Install Make for Linux to make the commands from the Makefile work (skip it if you already have it):
  • sudo apt-get update
  • sudo apt-get -y install make
  1. Open a terminal in PhpStorm (in the root of the project) and execute the following make commands:
  • make build-containers
  • make build-project

Optional: if mysql container not running (error with permissions), provide chmod 777 permissions for the /docker/volumes/mysql directory via terminal from this directory mysql:

  • sudo chmod -R 777 . (terminal must be opened in the your_project_root/docker/volumes/mysql directory)
  1. Create endless_profile_v3 Data Base (uft8mb4 / uft8mb4_general_ci) in MySQL and execute the following make commands via PhpStorm terminal (in the root of the project):
  • make migrate
  • make seed
  1. Go to admin panel: http://endless-profile-v3.loc/login via default User:
  • Email: admin@endless-profile.com
  • Password: secret

Or create account via http://endless-profile-v3.loc/register

  1. Configure X-Debug в PhpStorm:
  • Go to File ---> Settings ---> PHP>Debug;
  • Under Max.simultaneous connections specify ‘1’ (default is ‘3’);
  • Under Xdebug at the Debug port field, enter port 9001 with ‘,’ (if it was not there);
  • Press Apply and OK button;

Usefully commands in PHP container:

  • composer install
  • php artisan key:generate
  • php artisan migrate:fresh --seed
  • php artisan storage:link
  • php artisan l5-swagger:generate (if you need to update the API documentation)

Work with Cache:

  • php artisan cache:clear
  • php artisan config:clear
  • php artisan route:clear

File Optimisation:

  • php artisan optimize

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.

About

Endless Profile via QR-Code (R.I.P.)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published