Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

enwikipedia-acc/vagrant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acc-vagrant

Vagrant environment for ACC

Installation

  1. Install [VirtualBox] (https://www.virtualbox.org/wiki/Downloads)
  2. Install [Vagrant] (https://www.vagrantup.com/downloads.html)
  3. Install [Git] (https://git-scm.com/)
  4. [Clone] (https://help.github.com/articles/cloning-a-repository/) this repository.
  5. Get submodules with "git submodule update --init --recursive"
  6. Run "vagrant up" in a shell prompt

Documentation

Once "vagrant up" finishes running, you can open up http://127.0.0.1:8081/waca/acc.php and log in using "Admin" and "vagrant" as the username and password. This account should have Tool Administrator and CheckUser set on it.

In addition, there are "AdminNoCU", "CheckUser", "User", and "New" users with the same password.

If you want to run commands on the virtual machine that Vagrant creates (such as "sudo apt-get update; sudo apt-get upgrade"), you can run "vagrant ssh" while in this directory.

The config directory contains a config.local.inc.php file, and a .config.vagrant.inc.php file that should not be edited (it only contains some sane defaults which are copied to /vagrant/html/waca).

If you need the MySQL login details, the username is "root" and the password is "vagrant". This is a virtual machine that is only intended for development purposes so security isn't particularly important here.

There is a phpinfo() file at http://127.0.0.1:8081/info.php.

cleanup.sh/cleanup.bat is a small shell script that destroys the Vagrant environment, deletes the logs directory, and deletes the html/waca directory.

If you want to set up OAuth, the instructions in the last section of [ACC's installation guide] (https://github.com/enwikipedia-acc/waca/blob/master/INSTALLING.md#oauth-setup) should help.

About

Vagrant environment for ACC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 67.3%
  • PHP 17.3%
  • Batchfile 8.0%
  • Shell 7.4%