Hello, I'm Sam Wrigley. I'm a Web-Developer and Graphic Designer.
This is the source for my personal website 👉 samwrigley.co.uk.
You can also find me on: 🐦 Twitter | 📷 Instagram | 💼 LinkedIn
First, clone the repository:
git clone https://github.com/samwrigley/samwrigley.co.uk.git
cd samwrigley.co.uk
Second, install Composer and npm dependencies:
composer install
yarn install
Next, copy the example environment file and set the application key:
cp .env.example .env
php artisan key:generate
Finally, run the database migrations and seed the database:
yarn seed:dev
To build the JavaScript and CSS assets use:
yarn dev
To rebuild the JavaScript and CSS assets whenever they change use:
yarn watch
To run the PHP tests use:
php artisan test --parallel
To run the Cypress tests use:
yarn cypress:setup
yarn cypress:run
yarn cypress:cleanup
To run PHP static analysis use:
./vendor/bin/phpstan analyse
To run PHP quality checks use:
php artisan insights
To check all files are correctly linted use:
yarn lint
To fix any linting issues use:
yarn lint:fix