Git Product home page Git Product logo

taskbundle's Introduction

AWHS Logo

TaskBundle

TaskBundle of AWHSPanel This package provides a basic system for managing tasks in the background.

Requirements

Installation

  1. Clone this bundle inside src/AWHS/ directory.
  2. Enable the bundle in the kernel by adding the following line right after //AWHS Bundles in app/AppKernel.php file:
    new AWHS\TaskBundle\AWHSTaskBundle(),
  3. Append the following configuration to the app/routing.yml file:
awhs_task:
    resource: "@AWHSTaskBundle/Resources/config/routing.yml"
    prefix:   /
  1. Add the following code to the src/AWHS/UserBundle/Entity/User.php file:
/**
 * @ORM\OneToMany(targetEntity="AWHS\TaskBundle\Entity\Task", mappedBy="user")
 * @ORM\OrderBy({"id" = "DESC"})
 */
private $tasks;

/**
 * Get tasks
 *
 * @return \Doctrine\Common\Collections\Collection
 */
public function getTasks()
{
    return $this->tasks;
}
  1. Update database & clear cache: php bin/console doctrine:schema:update --force; php bin/console cache:clear; php bin/console cache:clear --env=prod
    You may have to set permissions back to www-data chown -R www-data:www-data /usr/local/awhspanel/panel/*
  2. Load data fixtures: php bin/console doctrine:fixtures:load --fixtures=src/AWHS/TaskBundle/DataFixtures/ORM --append

TODO

  • Multilingual
  • Refactoring old code.

taskbundle's People

Contributors

thegrimmchester avatar

Watchers

James Cloos avatar  avatar  avatar

taskbundle's Issues

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.