dannypas00/laravel-template-project

The skeleton application for the Laravel framework.

dev-develop 2025-02-13 20:42 UTC

This package is auto-updated.

Last update: 2025-02-25 21:12:55 UTC


README

Test integration on push

See this template in action at laravel-template.dannypas00.com

Default credentials are test@example.com and test1234.

Installation

Run the command make PROJECT_NAME=<your project name here>, substituting for you project name.
This make target will install all required dependencies and replace all templating with your chosen project name.

Running locally

To run the project locally, after installation simply run docker compose up -d to start the docker environment.

To change ports of services, change the .env file, ports are imported from there.

Local environment default urls

Default settings

Deploying

  • Change template values in Makefile
  • Ensure the ENV environment variable is set to production
  • Run make
  • Edit the .env file to match the production environment
  • Run make deploy
  • This will install and expose the app according to the .env file

Reverse proxy

To set up a reverse proxy on your host (e.g. for hosting multiple projects on one host):