To start a new project, clone and reset this repo.
git clone --depth 1 [email protected]:rdaitan-cp/laravel-boilerplate.git project-name
cd project-name
rm -rf .git
git init
Once you're done, you can remove this part from the README.
Github workflows are included in this repository. Feel free to modify them according to your project's requirements.
-
test_and_deploy.yml
- Run tests on each PR.
- Deploy to staging or master branch. These are disabled by default. Uncomment to enable.
-
housekeeping.yml
- Update the PHP and JS dependencies daily in the
internal
branch. - Make sure you have an
internal
branch.
- Update the PHP and JS dependencies daily in the
- Clone the project.
- In the project directory, copy
.env.example
.cp .env.example .env
- Modify the
.env
file according to your system. - Run the following commands
composer install php artisan key:generate php artisan migrate --seed