This box is a base LAMP stack.
The stack includes:
- Ubuntu 16.04 (bento)
- Apache 2 (php-fpm)
- MySQL Server
- PHP 7.1
- Memcached
- Node/NPM
- Composer
** Nginx
If you would prefer to use Nginx, edit vagrant/provision/once-as-root.sh and un-comment the lines relevant to Nginx. Be
sure to comment the lines related to Apache.
- Copy
vagrant/config/vagrant-local.example.ymltovagrant/config/vagrant-local.yml. - Add your github token and customise any other setting.
- Run
vagrant up.
vagrant/provision/once-as-vagrant.sh contains commands for post install updates including running composer install
or npm install etc. This is executed during vagrant up --provision but can be executed from within the vagrant box
if you would like to run the install scripts without re-building the box.
The working directory of the box is /app not /vagrant
The default IP for the database is: 192.168.83.138. This is configurable in vagrant/config/vagrant-local.yml.
The password for root is set to root.