Docker-compose version: "3.9" # optional since v1.27.0 services: mariadb: image: mariadb environment: MARIADB_ROOT_PASSWORD: root MARIADB_DATABASE: laravel volumes: - ./.docker/mariadb/data:/var/lib/mysql restart: unless-stopped redis: image: redis volumes: - ./.docker/redis/data:/data restart: unless-stopped mongodb: image: mongo volumes: - ./.docker/mongodb/data:/data/db - ./.docker/mongodb/configdb:/data/configdb restart: unless-stopped php: build: context: . dockerfile: ./.docker/php/Dockerfile #image: php:8.1 tty: true volumes: - ./:/var/www/html restart: unless-stopped nginx:... Continue Reading →
Laravel Sail – Setup
Install Sail by use your existing local development environment allows you to install Composer dependencies. https://laravel.com/docs/8.x/sail Install Sail : https://laravel.com/docs/8.x/sailcomposer require laravel/sail --devphp artisan sail:install./vendor/bin/sail up (-d : To start all of the Docker containers in the background )sail stop Setup PHPStorm - PHPUnit with docker https://blog.jetbrains.com/phpstorm/2016/11/docker-remote-interpreters/
XGallery và câu chuyện UT & Coverage
Nghiêm túc mà nói thì viết UT mình cũng chỉ mới thật sự bắt tay vào làm thời gian gần đây. Of course trước đây từ thời JomSocial đã bị "ép" làm. Nhưng không quá hào hứng. Thấy mệt & lười vl.
Install Ubuntu 14.04.x. You can use latest Ubuntu as well but not suggest Upgrade OS after installed Install Synaptic via Ubuntu Software Center. Use Synaptic to install ( You can choose Automatically close after the changes have been successfully applied ). Synaptic will help you install relative packages when it's required ! MySQL 5.5 packages... Continue Reading →
You must be logged in to post a comment.