Skip to content

davidsilvasanmartin/larablog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMS in Laravel

Installation

  • Run build.sh
  • Create backend/.env file. Example:
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=devenv_mysql
DB_PORT=3306
DB_DATABASE=app_db
DB_USERNAME=root
DB_PASSWORD=root

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

FILESYSTEM_DRIVER=public

TINYMCE_API_KEY=xyz
DISQUS_EMBED_URL=https://qqq.disqus.com/embed.js
FONTAWESOME_KIT=qqq

SOCIAL_LINKEDIN=
SOCIAL_GITHUB=
SOCIAL_STACK_OVERFLOW=
SOCIAL_MEDIUM=
  • Run start.sh, and, inside the container:
    • composer install
    • php artisan key:generate
    • php artisan storage:link
    • php artisan migrate:fresh --seed
    • npm install
  • code . --user-data-dir ./.vscode - until permissions are fixed

Errors

  • If Apache can't access any file, run sudo chown -R www-data:www-data . from inside the project folder. The docker Apache process needs the files to be owned by www-data. This is extremely annoying but I haven't found a solution yet.

About

New personal blog in Laravel built on Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published