dev-master
9999999-devHomestead alternative
MIT
The Requires
- slim/slim ^3.1
- potsky/pimp-my-log ^1.7
- symfony/console ^3.0
- knplabs/github-api ^1.5
- ptrofimov/beanstalk_console ^1.7
- fxp/composer-asset-plugin ^1.1
by Sam Mousa
Wallogit.com
2017 © Pedro Peláez
Homestead alternative
Homestead Alternative, (*1)
~/.composer/vendor/bin is in your path.composer global require sam-it/develop
echo "address=/dev/192.168.37.2" > /etc/NetworkManager/dnsmasq.d/dev-tld" echo "local=/dev/" >> /etc/NetworkManager/dnsmasq.d/dev-tld"
sudo systemctl stop NetworkManager sudo pkill dnsmasq sudo systemctl start NetworkManager
/mnt/data/projects, or edit the VagrantFile.develop up
On boot each of your project will be assigned a domain name based on the name of the folder it is in, projects/testproject will be available at http://testproject.dev., (*2)
The system will try to find out the webroot directory of your project using several heuristics:
1. If a file manifest.json exists it will use the root key.
2. If a file named index.php exists in project root it will use that.
3. If a file named application/index.php exists, the root will be set to application (yii1).
4. If a file named public/index.php exists the root will be set to public.
5. If none of those are found it will recursively iterate directories and find all index.php files.
After that it sorts them based on abscence or presence of the word public in the path. It then selects the folder for the first index.php., (*3)
Besides having all your projects available this repository will add a http://console.dev domain that offers some commonly used tools.
1. PHPMyAdmin (https://www.phpmyadmin.net/)
2. MailCatcher (http://mailcatcher.me/)
3. Pimp-my-log (http://pimpmylog.com/)
4. Beanstalk console (https://github.com/ptrofimov/beanstalk_console), (*4)
Homestead alternative
MIT