https://github.com/eppak/laradock-cli
Laradock client
https://github.com/eppak/laradock-cli
Last synced: over 1 year ago
JSON representation
Laradock client
- Host: GitHub
- URL: https://github.com/eppak/laradock-cli
- Owner: eppak
- License: mit
- Created: 2020-04-27T19:04:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-29T13:27:19.000Z (about 5 years ago)
- Last Synced: 2025-01-24T18:08:04.357Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 6.43 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laradock Client
Installation
----
$ wget https://github.com/eppak/laradock-cli/raw/master/builds/laradock-cli
$ chmod +x laradock-cli
$ sudo cp laradock-cli /usr/bin/laradock-cli
Upgrade
----
$ sudo laradock-cli self-update
Configuration
You can create a laradock.yml in .laradock-cli folder in your home or in currend directory.
Use this content and customize as you wish:
name: my-docker
php: 7.4
mysql: 5.7
Usage
----
$ laradock-cli init
Inizialize a new laradock folder in the current directory, you can add --path=/your/path to change destination.
$ laradock-cli start
Start the laradock containers, you can add --path=/your/path to change destination.
$ laradock-cli stop
Stop the laradock containers, you can add --path=/your/path to change destination.
$ laradock-cli check
Check if istances started correctly.
$ laradock-cli workspace
Enter in the bash of the workspace container where you can run artisan.
$ laradock-cli mysql
Enter in the bash of the mysql container.