Skip to content

a shell script that prepares a directory for MediaWiki-Vagrant

Notifications You must be signed in to change notification settings

kemayo/mw-vagrant-prep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MediaWiki-Vagrant prep

a shell script that prepares a directory for MediaWiki-Vagrant.

the script is intended to prepare a directory for use with MediaWiki-Vagrant. using config values in bin/config.sh it will:

  • clone vagrant into PROJECT_DIR/vagrant
  • if needed, add VAGRANT_BOX_NAME to the available Vagrant boxes
  • clone or git pull mediawiki core into MW_CORE_DIR/core
  • copy MW_CORE_DIR/core into PROJECT_DIR/vagrant/mediawiki
  • update PROJECT_DIR/vagrant/puppet submodules
  • setup PROJECT_DIR/vagrant

use

  1. create a directory for your project

    • mkdir /path/to/your/project
  2. clone the repo into that directory

    • git clone -o github https://github.com/dan-nl/mw-vagrant-prep.git /path/to/your/project
    • cd /path/to/your/project
  3. copy the bin/config.sample.sh file to config.sh.

    • cp bin/config.sample.sh bin/config.sh
  4. alter the bin/config.sh contents as appropriate.

  5. run the script.

    • ./prep-mw-vagrant.sh

About

a shell script that prepares a directory for MediaWiki-Vagrant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 100.0%