Blumilk official website.
cp .env.example .env
make init
make dev
Application will be running under localhost:34620 and http://website.blumilk.localhost/ in Blumilk traefik environment. If you don't have a Blumilk traefik environment set up yet, follow the instructions from this repository.
Before running any of the commands below, you must run shell:
make shell
Command | Task |
---|---|
composer <command> |
Composer |
composer test |
Runs backend tests |
composer analyse |
Runs Larastan analyse for backend files |
composer cs |
Lints backend files |
composer csf |
Lints and fixes backend files |
php artisan <command> |
Artisan commands |
npm run dev |
Compiles and hot-reloads for development |
npm run build |
Compiles and minifies for production |
npm run lint |
Lints frontend files |
npm run lintf |
Lints and fixes frontend files |
npm run tsc |
Runs TypeScript checker |
service | container name | default host port |
---|---|---|
app |
website-app-dev |
34620 |
database |
website-db-dev |
34621 |
redis |
website-redis-dev |
34623 |
mailpit |
website-mailpit-dev |
34622 |