My personal webpage source code.
MIT License
Clone project
Install Git bash
Install VS Code
Install Node.js with NPM
Integrate Git bash into VS Code
Add "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
line into the User Settings
$ cd <cloned-project-path>
Rename .env.example
to .env
Install PHP required packages
$ composer install
Generate an APP_KEY
$ php artisan key:generate
Create a DataBase and set the connection details in the .env
file
Install Node dependencies (to Compile Assets with Laravel Mix)
npm install
Generate (JS, CSS) assets
npm run prod
Create log file
/storage/logs/laravel.log
Set permissions (write)
/bootstrap/cache/
folder
/storage/
folder
/public/
folder to /public_html/
npm run watch
Run $ composer run-all-tests
to run the Unit and Feature tests.
Run $ composer get-coverage
to generate HTML code coverage.
Please use the $ composer run-tidy
command before every commit to make sure the source code formatted properly.