Giter Site home page Giter Site logo

vinelab / agency Goto Github PK

View Code? Open in Web Editor NEW
21.0 11.0 3.0 6.34 MB

A Neo4j (graph db based) content management system built with smart tools and compelling UI for the 21st century.

CoffeeScript 0.69% PHP 12.93% ApacheConf 0.01% CSS 28.51% JavaScript 57.84% Lua 0.02%

agency's Introduction

Agency

Build Status

A backend for dedicated products implementing an easy to use content management system and exposes data through an API specifically tailored for web and mobile.

Installation

Composer

  • install composer
  • create your agency based project with composer create-project vinelab/agency my-project

Setup

  • let Laravel know what environment you're running under in bootstrap/start.php by checking this line:
$env = $app->detectEnvironment(array(

    'development' => array('agency-develop') // as set in http://githb.com//vinelab/agency-deployment-provisioning

));
  • make sure the database is configured as expected in app/config/[environment]/database.php

Database Migration and Seeding

inside the project directory:

  • migrate with php artisan migrate
  • seed with php artisan db:seed

Launch

If you're following the steps in the deployment repo, visiting http://agency.dev:7878 should open it up.

  • login to the CMS by visiting http://agency.dev:7878/cms

remember to change them after logging in

Features

  • Multi admin access control with fine-grained role/permission assignment
  • Token based authenticated API to expose content to all sorts of consumers (mobile, web, third-parties, etc.)
  • Very cool looking and customizable interface ๐Ÿ˜Ž thanks to Ace Admin
  • Amazon AWS S3 CDN support for uploaded assets
  • Image cropping with specified ratio and/or size
  • Organize and retrieve content by sections and categories
  • Youtube video integration
  • Harmless text editor that cleans the ๐Ÿ’ฉ out of any text inserted or pasted in

agency's People

Contributors

bobflay avatar mulkave avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

agency's Issues

[cms] improve uploader to accept single photo uploads + documentation

Currently the only way is through a UploadedPhotosCollection, let's split that up into two methods, Manager::upload(UploadedPhoto $photo) obviously for single photo uploads and another one for multiple photo uploads Manager::multipleUpload(UploadedPhotosCollection).

Would make things much easier.

introduce a CDN management tool/driver

A CDN management tool that would help configure the CDN to be used, in case other CDN drivers would be implemented in the future. Also would help manage and configure uploaded content.

Error on php artisan db:seed

Argument 2 passed to Agency\Cms\Authority\Bouncer::__construct() must implement interface Agency\Contracts\HelperInterface, none given, called in /var/www/vinelab/app/Agency/Cms/Authority/Manager.php on line 48 and defined

[repos] a method that returns the specified records by an array of ids

The base repository should have a method that is called with a specified array of ids as such:

$users = new UserRepository($user);

$users->withIds([1, 2, 3, 4, 5], ['specify relations here....']);

should make use of the whereIn Eloquent method, should also have relations specified.

[cms] eliminate the need to pass the $sections from inheriting CMS controllers

Inheriting from the CMS controller is a bit needy, let's change that in a better way to not require passing stuff to the parent controller.

Currently we need to call parent::__construct(SectionRepositoryInterface $sections), if we do that in the parent construct using App::make() would eliminate the need to pass parameters and introduce flexibility to the parent controller, so we will only need to parent::__construct() when inheriting.

Error when installing

When running composer create-project vinelab/agency ./ and all packages has been downloaded, I end up with this message:

[RuntimeException]
  Error Output: PHP Fatal error:  Call to undefined method Vinelab\Auth\AuthServiceProvider::publishes() in /var/www/content.d.mydev.se/vendor/vinelab/social-auth/src/Vinelab/Auth/AuthServiceProvider.php on line 2
  1

Installation failed

While first installing the package with the command "composer create-project vinelab/agency", I got this error message "Could not find package vinelab/agency with stability stable"
Any help ?

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.