driesvints.com icon indicating copy to clipboard operation
driesvints.com copied to clipboard

The source code for my personal website.

driesvints.com

Tests Code Style

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 [email protected]: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. Add the auth.json file from below to the root of the project
  5. Install the PHP dependencies with composer install
  6. Generate a new app key with php artisan key:generate
  7. Prepare the database by running php artisan migrate --seed
  8. Install and compile the front-end dependencies with npm install && npm run dev
  9. 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. You can login into the back-end at http://127.0.0.1:8000/nova with [email protected] & password.

Nova License

Your auth.json file at the root of the project should contain your Nova credentials:

{
    "http-basic": {
        "nova.laravel.com": {
            "username": "Your Nova email address",
            "password": "Your Nova license key"
        }
    }
}

Commands

Command Description
php artisan test Run the tests
php artisan migrate:fresh --seed Reset the database
npm run watch Watch for changes in CSS and JS files