This is the source code of my personal blog, which can be found at barryvanveen.nl. If you are interested, below are some directions that get you (and me) started after cloning this repository.
This code has been developed on Laravel Homestead. So I suggest you give that a try and then use the following steps to set everything up for further development.
- checkout
master
- create a file called
.env
and substitute all placeholders with real values - run
composer install
to download all PHP packages to /vendor - run
yarn install [--no-bin-links]
- run
gulp
to build all CSS and Javascript files
Use php artisan switch-branch
to update your project. This is mostly needed when you switch to a different branch.
This command performs the following actions:
- run
composer install
, use the--composer-update
option to performcomposer update
- run
yarn --no-bin-links
- remove all tables from the database and run
php artisan migrate
andphp artisan db:seed
- remove all tables from the testing database and run
php artisan migrate --env=testing
Run gulp
to compile everything once.
Run vendor/bin/phpunit
to run all tests.
Run php-cs-fixer fix
to automatically cleanup all code to Symphony standards. All configurations are saved in a file
called .php_cs and documentation can be found at https://github
.com/FriendsOfPHP/PHP-CS-Fixer.
See the LICENSE file for license rights and limitations (MIT).