Giter Site home page Giter Site logo

rt4vagrant's Introduction

rt4vagrant

About

A simple Vagrant environment for the latest version of Request Tracker.

Usage

Installed Vagrant with a suitable hypervisor is required. To run:

# Start
vagrant up

# Provision (via bash scripts)
vagrant provision

# With parallels
vagrant up --provider=parallels

# On the machine
$ sudo start-rt

Access http://192.168.56.10 in your browser.

Providers

This environment is configured for Parallels, VMWare and VirtualBox.

Features

  • Newest RT (default admin credentials: root:password)
  • Standalone Plack Server
  • SQLite database
  • Dev- and build enviroinment included
  • Base box is ubuntu 16.04
  • Modules via CPAN installed

Configuration

The default configuration is installed into /vagrant/vendor/rt/etc/RT_SiteConfig.pm.

If you need your own local configuration file for e.g. extensions and other development tests, copy provision/rt/RT_SiteConfig.pm to work/RT_SiteConfig.pm and provision the Vagrant box. The work directory is ignored by the git tree.

cp provision/rt/RT_SiteConfig.pm work/RT_SiteConfig.pm

vim work/RT_SiteConfig.pm

vagrant provision

vagrant ssh

sudo start-rt

The configuration file is located in /vagrant/vendor/rt/etc/RT_SiteConfig.d inside the Vagrant box and overrides the default /vagrant/vendor/rt/etc/RT_SiteConfig.pm file.

Extensions

Either use Vagrantfile.local to set specific synced folders, or copy extensions into the work directory.

Extensions need to create a Makefile in order being installed. This requires a specific RT install location in /vagrant/vendor/rt. Set the RTHOME environment variable in order to avoid questions by the perl Makefile.PL call.

cd /vagrant/work/rt-extension-ticketactions

perl Makefile.PL

make
make install

Database

sqlite3 /vagrant/vendor/rt/var/rt4

.tables

SELECT * from CustomFields;

License

rt4vagrant is licensed under the terms of the GNU General Public License Version 2, Copyright held by author.

rt4vagrant's People

Contributors

al2klimov avatar mxhash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rt4vagrant's Issues

Issue with RTCACHE

On startup I get:

RTCACHE does not exist: /vagrant/vendor/rt/var/mason_data/obj

which is resolved with a simple

mkdir -p /vagrant/vendor/rt/var/mason_data/obj

Then everything works afterwards. Thanks for this, massive timesaver!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.