Giter VIP home page Giter VIP logo

agov's Introduction

aGov Build Status

Download

aGov is available as a full drupal site in tgz and zip format at: http://drupal.org/project/agov

Building from Source

Source is available from GitHub at https://github.com/previousnext/agov

Requirements

Install Vagrant plugins

Run the following via the command line:

# Virtualbox support.
$ vagrant plugin install vagrant-vbguest

# Automatically assigns an IP address.
$ vagrant plugin install vagrant-auto_network

# Adds "/etc/hosts" (local DNS) records.
$ vagrant plugin install vagrant-hostsupdater

Getting started

1) Start the VM.

$ vagrant up

All commands from here are to be run within the VM. This can be done via the command:

$ vagrant ssh

This will take you to the root of the project inside of the vm.

2) Pull down the dependencies

$ composer install --prefer-dist

3) Build the project

$ phing

The default build task is to build the project. To call this step directly, run:

3) Go to the site on the following domain

http://agov.dev
$phing build

Testing

$ phing test

List other targets

$ phing -l

The output for this should look something like the following:

Default target:
-------------------------------------------------------------------------------
 build            Build (or rebuild) the project.

Main targets:
-------------------------------------------------------------------------------
 behat            Run Behat tests and print human readable output. Intended for usage on the command line before committing.
 behat:init       Setup steps for Behat build tasks.
 build            Build (or rebuild) the project.
 ci:behat         Run Behat tests creating a log file for the continuous integration server.
 ci:phpcs         Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server.
 ci:phpmd         Perform project mess detection using PHPMD creating a log file for the continuous integration server
 install          Install aGov with standard configuration.
 make             Compile aGov from a make file
 phpcpd           Find duplicate code using PHPCPD
 phpcs            Find coding standard violations using PHP_CodeSniffer and print human readable output. Intended for usage on the command line before committing.
 phploc           Measure project size using PHPLOC
 phpmd            Perform project mess detection using PHPMD and print human readable output. Intended for usage on the command line before committing.
 phpqatools:init  Setup steps for PHP build tasks.
 prepare          Setup the project
 test             Run the test suite

agov's People

Contributors

bienvu avatar boztek avatar cbiggins avatar colinpaulwatson avatar grom358 avatar johnalbin avatar joshuarussell avatar jptaranto avatar jshrssll avatar kimpepper avatar larowlan avatar mmkostrzewa avatar nickschuch avatar rcaracaus avatar typhonius avatar williammcrae avatar xtfer avatar

Watchers

 avatar

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.