Skip to content

gaabrenno/hey-professor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI  Develop CI  Main

About Hey Professor

Kickstart your development journey with a robust, ready-to-use Laravel foundation. Streamline your web projects, enhance productivity, and bring your creative ideas to life effortlessly. Designed for developers who value efficiency and innovation in their web development process

Set up

This project requires PHP 8.3 and Laravel 11 for optimal performance and compatibility.

Get Started

  1. Cloning the project:
git clone https://github.com/4selet/4selet-v2.git && cd ./4selet-v2
  1. Create the environment file .env in the root of the project.
cp .env.example .env
  1. Turn on the PHP Extension Sodium
  2. Run the project dependencies:
composer install
  1. Generate your environment key:
php artisan key:generate
  1. Regenerate the autoload files:
composer dump-autoload
  1. Install all node dependencies:
npm install
  1. Run all migrations:
php artisan migrate
  1. Run all database seed:
php artisan db:seed
  1. Create a link for public files
php artisan storage:link
  1. Done! Run php artisan serve to start.

Background Services

Queue:

php artisan queue:work

Executes the event list, necessary for sending notifications or performing background tasks.

To run the queue with recovery mode (if it fails, it will restart):

php artisan queue:work --tries=1

Change QUEUE_CONNECTION in .env to database. For example: QUEUE_CONNECTION=database

Services:

php artisan schedule:work

Executes Scheduled Tasks

Note: In production, use Supervisor. Read more in SUPERVISOR.md

Creation of a New Module (introduction)

Create a new module:

php artisan module:make module-name

Create a new controller for the module:

php artisan module:make-controller module-name ControllerName

Migrations:

php artisan module:make-migration create_name_table module-name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages