Skip to content

PHLAK/chriskankiewicz.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chris Kankiewicz

License Build Status Author


Requirements

For development

Setting up a Local Development Environment

Configure the Hostnames

Add the following entry to /etc/hosts:

127.0.0.1  chriskankiewicz.local mysql redis

Set Environment Variables

To set up your local environment variables copy .env.example to .env then generate your application key.

cp .env.example .env
artisan key:generate

Once done you must set the remaining variables in the .env file.

Start the Docker Environment

To build and start the containers on your system for the first time run the following from the project's root directory:

docker-compose up -d

Install PHP dependencies

composer install

Install JavaScript Assets

npm install

Initialize and Seed the Database

artisan migrate:fresh --seed

Accessing the Development Site

You can access the development site at http://chriskankiewicz.local.

Debugging

Laravel Telescope

Laravel Telescope is included in local environments for debugging. Telescope provides insight into the requests coming into your application, exceptions, log entries, database queries, queued jobs, mail, notifications, cache operations, scheduled tasks, variable dumps and more.

You can access Telescope via http://chriskankiewicz.local/telescope

Tailing Application Logs

docker-compose logs --follow --tail 20 app

About

My internet homepage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •