Closed ComMouse closed 7 years ago
so what's the point about switching to 16.04 since we are using ppa? I haven't wrote PHP for a while, so /w\
@ComMouse also, PHP7 or 5 or both?
oops, PHP5 is gone for 16.04, so stick to 14.04 for 5, or use a PPA for PHP5?
btw: @ComMouse I think we should transfer this project to dongyue's namespace instead of mine, or make a fork of it.
PPA is a must for PHP installation since the official version is always not the latest
also @at15 If the box needs to be migrated into dyweb group, why not change a nicer name? like rotunda or something else :XD
e... you can do that after make the fork, just wait before I finish the migration to ansible. And also you need a new account for vagrantcloud to publish the box.
@ComMouse you can have a look now, the upload should be finished when you noticed the message.
@JasonQSY Have a look?
@ComMouse Is it enough to just check the box environment?
@JasonQSY Try deploying a website or Laravel?
Try it on cure-web
based on Laravel
. Some suggestions and problems.
vagrant reload --provision
if the download fails' in doc.composer
and the box has already had npm
, I think it is not a bad idea to add composer
globally. For example,
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
npm install
fails for cure-web
on my computer (Windows 10). I'm not very clear about the reason. Maybe it is the window-host/linux guest problem. See also https://github.com/npm/npm/issues/5874. Working on it currently.phpmyadmin
on host machine? Maybe add a forwarded port?redis-server
start normally but haven't been tested.Only 3 is fatal. Maybe test it on another machine.
@at15 @ComMouse
chmod
mysql.lk:8080
if you forward guest 80 to host 8080, I will put a Vagrantfile
example in readme.I have updated ansible config, and is uploading the new box for version 1.0.1, you can build from the source if you like, some problems and solutions are addressed in readme, and after this issue is finished, I think it's time to transfer its ownership to dyweb or make a fork, whatever you like, leave this to you guys.
Yes, I believe there is only the symlink problem and others work fine now.
LGTM @ComMouse
@at15 Consider use private ips for exposed sites, like the config in Homestead and Rotunda (tongqu-web/script/ops/Vagrantfile
)
@JasonQSY npm should be installed outside vagrant. Due to symlink problem, installing in vagrant would definitely fail (VirtualBox mount not works well for symbolic link now)
@ComMouse yeah it is possible, but my new quarter is going to begin next week and I have interview this Friday, so, 这个锅就甩给你们了.....
Life is short, I choose mac 😕
@JasonQSY 1 mac = 1 win+linux laptop + 1 PC with 2 monitor
RT @at15
Update by @at15