Awesome
driesvints.com
<a href="https://github.com/driesvints/driesvints.com/actions?query=workflow%3ATests"> <img src="https://github.com/driesvints/driesvints.com/workflows/Tests/badge.svg" alt="Tests"> </a> <a href="https://github.com/driesvints/driesvints.com/actions/workflows/coding-standards.yml"> <img src="https://github.com/driesvints/driesvints.com/actions/workflows/coding-standards.yml/badge.svg" alt="Coding Standards" /> </a>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
- Clone this repository locally with
git clone git@github.com: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 - 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.
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 |