Skip to content

Fast installation of laravel, laradock and all dependencies on the server.

License

Notifications You must be signed in to change notification settings

samikhajlov/Laravel-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Laravel-environment

Fast installation of laravel, laradock and all dependencies on the server.

Set up the server environments

  • Copy paste laradock and laravel project files
  • Check sure that project structure is /var/www/project_name/laravel/ and /var/www/project_name/laradock/
  • Install docker
  • Check working email in laradock/caddy dirictories
  • Run a command docker-compose build workspace
  • Run a command docker-compose up -d mysql caddy
  • For workspace run docker-compose exec workspace bash

Project set up

  • composer install
  • sudo chgrp -R www-data storage bootstrap/cache
  • sudo chmod -R ug+rwx storage bootstrap/cache
  • npm install
  • php artisan migrate
  • php artisan db:seed
  • php artisan sleepingowl:install
  • php artisan vendor:publish --tag=assets --force

Others

Releases

No releases published

Packages

No packages published