placeholder
cp .env.example .env
make init
make dev
make shell
php artisan queue:listen
Application will be running under localhost:63851 and http://interns2024b.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 |
interns2024b-app-dev |
63851 |
database |
interns2024b-db-dev |
63853 |
redis |
interns2024b-redis-dev |
63852 |
mailpit |
interns2024b-mailpit-dev |
63854 |