Skip to content

Vagipal is an experimental Vagrant based development environment configuration for Drupal.

License

Notifications You must be signed in to change notification settings

tybantarnusa/vagipal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagipal

Vagipal is an experimental Vagrant based development environment for Drupal.

Inside Vagipal

  • Ubuntu 16.04 (ubuntu/xenial64)
  • Apache 2
  • PHP 7
  • MySQL
  • PhpMyAdmin
  • Git
  • Composer
  • Drupal 7.56
  • Drush (CLI for Drupal)

How to Use

  1. Install VirtualBox: https://www.virtualbox.org/
  2. Install Vagrant: http://www.vagrantup.com/
  3. Download Ubuntu 16.04 64-bit box for Vagrant
$ vagrant box add ubuntu/xenial64
  1. 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
  1. Go to Vagipal directory
$ cd vagipal
  1. 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.

  1. Start the Vagrant environment
$ vagrant up

This will take quite a long time. So, be patient. Please understand.

  1. 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

Default Configurations

Drupal

  • Username: admin
  • Password: admin

MySQL

  • Host: 127.0.0.1
  • Username: root
  • Password: password
  • Port: 3306

CLI

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/.

How to Contribute

  1. Clone this repository
$ git clone https://github.com/tybantarnusa/vagipal.git
  1. Start coding!
  2. Send pull request to this repository

Epilogue

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.

About

Vagipal is an experimental Vagrant based development environment configuration for Drupal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published