Download the PHP package coroin/homeport without Composer
On this page you can find all versions of the php package coroin/homeport. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package homeport
Homeport
Homeport is a script (homeport
) installed your project-root with shortcuts to streamline your workflow while interacting with laradock in a multi-project environment.
Prerequesites
Homeport requires Docker and Laradock.
Install laradock in the same root folder as your other projects.
It is recommended to use the
~/code
folder
Run this to create the ~/code
folder (if it doesn't already exist) and install laradock:
Copy the env-example
to .env
and enable packages:
Installation (only required for a new project)
Install Homeport in your project:
Review the homeport
script and customize for your project, if needed:
Initial Setup (required one time per project)
Add entry to your hosts file:
It is recommended to use the
.test
top-level-domain for your localdevOn Mac/*NIX this file is located at
/etc/hosts
. On Windows, it isC:\Windows\system32\drivers\etc\hosts
Create the database and nginx config file:
Note: If this is the first time you have run this command, it may take some time to download and build the docker images.
Usage
Any command not defined in the homeport
script will default to being passed to the docker-compose
command.
If no command is used, it will run docker-compose ps
to list the running containers used by laradock.
Starting and Stopping Laradock
Artisan, Composer, and NPM
MySql and Redis
PHPUnit and Debugging
Rebuilding or Repairing Laradock
After an update to Laradock or making changes to the .env
file, rebuild the docker images:
Upgrading Homeport
Run the following command each time composer update
gives you a new version of homeport
Learning Docker
If you're unfamiliar with Docker, check out Chris Fidao's awesome Docker in Development and Shipping Docker courses at serversforhackers.com.
Contributing
- Fork this repo
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request