Streamline is a laravel package to kickstart your local development and streamline deployment with docker which aims to hide away all docker specifics and instead provide few simple artisan commands.
- Docker
composer require dahaiz/streamline- Add the
StreamlineSeviceProviderto yourapp.php - Publish config
php artisan vendor:publish --provider="DaHaiz\Streamline\StreamlineServiceProvider"
You can now enable the services you want to use through your app/streamline.php and then run artisan streamline:dev:setup.
Streamline will now create the necessary docker configuration files for you. Depending on your operation system you can now start the Docker containers in one of the following ways:
- Start a terminal
cdto your project root- run
docker-compose up -d - Visit your docker machine IP.
Assuming default settings you can get the IP of your docker machine
using
docker-machine ip default.
- Start your Docker QuickStart Terminal
- Following steps 2 to 4 in Linux section.