Vagipal is an experimental Vagrant based development environment for Drupal.
- Ubuntu 16.04 (ubuntu/xenial64)
- Apache 2
- PHP 7
- MySQL
- PhpMyAdmin
- Git
- Composer
- Drupal 7.56
- Drush (CLI for Drupal)
- Install VirtualBox: https://www.virtualbox.org/
- Install Vagrant: http://www.vagrantup.com/
- Download Ubuntu 16.04 64-bit box for Vagrant
$ vagrant box add ubuntu/xenial64
- Download Vagipal if you use git:
$ git clone https://github.com/tybantarnusa/vagipal.git
or if you don't have git installed:
$ wget https://github.com/tybantarnusa/vagipal/archive/master.zip
$ unzip master.zip
$ mv ./vagipal-master ./vagipal
- Go to Vagipal directory
$ cd vagipal
- OPTIONAL: Install the vagrant-hostsupdater plugin
$ vagrant plugin install vagrant-hostsupdater
Use this if you want your drupal site to be accessed via named domain such as http://vagipal.dev/
. You can change the host name by editing the file provisioning/default.yml
.
WARNING! Windows does not allow to change hosts files. Add vagipal.dev 118.97.103.105
by yourself.
- Start the Vagrant environment
$ vagrant up
This will take quite a long time. So, be patient. Please understand.
- Open your Drupal site in browser
by accessing 118.97.103.105
, or vagipal.dev
if you use hostsupdater and didn't change the hostname configuration in provisioning/default.yml
- Username:
admin
- Password:
admin
- Host:
127.0.0.1
- Username:
root
- Password:
password
- Port:
3306
You can access your Vagrant environment using:
$ vagrant ssh
Vagipal uses Drush as command-line interface for Drupal. See more about Drush here: http://www.drush.org/.
- Clone this repository
$ git clone https://github.com/tybantarnusa/vagipal.git
- Start coding!
- Send pull request to this repository
This project is maintained by Thoyib Antarnusa initially for mid-term project in Open-Source Software Development class of Faculty of Computer Science, Universitas Indonesia.