This is the source code for my personal website (Not live yet). It is built using Laravel, Livewire, and Tailwind CSS.
- Clone the repository
- Init .env file
cp .env.dev .env - Make sure you have Docker installed locally
- Make sure you have a recent version of node and npm installed locally (>20.0)
- Configure the
sailalias in your.bashrcor.zshrcfile
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'- Run
sail uporsail up -dto build the docker containers - Then, to init everything needed for the app, run
make init
- The default database is mysql, because we have a docker-compose file that runs a mysql container.
- Husky is automatically installed with
make initto run static analysis tools before each commit.
make up # Start the server & watch assets build
make down # Stop the servermake resetmake test- Run all static analysis tools:
make analyse- Or run separately:
make phpstan
make pint