refactor: replace Makefile with justfile

This commit is contained in:
2026-03-01 13:05:08 +03:00
parent f6e6fc72b1
commit 2f10c21d03
4 changed files with 45 additions and 65 deletions

View File

@@ -2,16 +2,18 @@
- PHP-FPM, NGINX, MySQL, phpMyAdmin (in `compose.yaml`)
## Create a project:
## Run a container
```bash
cp .env.example .env
# !change .env for yourself
docker compose up -d php-fpm
docker compose exec php-fpm bash
# or `make shell`
docker compose exec --user www php-fpm bash
# or `just shell`
```
## Create a project:
**_Rewrite below for yourself:_**
*RECOMENDED:*
@@ -25,6 +27,7 @@ export PATH="$HOME/.composer/vendor/bin:$PATH"
# Check options via `laravel new -h`
laravel new example-app
# copy your `.env` content to `example-app/.env`
mv example-app/* example-app/.* ./
rmdir example-app
```
@@ -36,6 +39,7 @@ rmdir example-app
```bash
composer create-project --prefer-dist laravel/laravel example-app ^11.0
# copy your `.env` content to `example-app/.env`
mv example-app/* example-app/.* ./
rmdir example-app
```
@@ -43,5 +47,5 @@ rmdir example-app
## Quick Actions
```bash
make help
just
```