driesvints.com
driesvints.com copied to clipboard
The source code for my personal website.
driesvints.com
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.
- PHP 8.1
- Composer
- NPM
- A valid Laravel Nova license
Installation
- Clone this repository locally with
git clone [email protected]:driesvints/driesvints.com.git driesvints.com
- Setup a local database called
driesvints
- Copy the
.env.example
file to.env
and fill in the database credentials - Add the
auth.json
file from below to the root of the project - Install the PHP dependencies with
composer install
- Generate a new app key with
php artisan key:generate
- Prepare the database by running
php artisan migrate --seed
- Install and compile the front-end dependencies with
npm install && npm run dev
- 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 |