driesvints.com

April 29, 2025 ยท View on GitHub

Tests Coding Standards

The source code for my personal website.

Visit it at https://driesvints.com

Requirements

The following tools are required in order to start the installation.

Installation

  1. Clone this repository locally with git clone git@github.com:driesvints/driesvints.com.git driesvints.com
  2. Setup a local database called driesvints
  3. Copy the .env.example file to .env and fill in the database credentials
  4. Install the PHP dependencies with composer install
  5. Generate a new app key with php artisan key:generate
  6. Prepare the database by running php artisan migrate --seed
  7. Install and compile the front-end dependencies with npm install && npm run dev
  8. Serve the website locally by running php artisan serve

You can now visit the app in your browser by visiting http://127.0.0.1:8000.

Commands

CommandDescription
php artisan testRun the tests
php artisan migrate:fresh --seedReset the database
npm run watchWatch for changes in CSS and JS files