Git Product home page Git Product logo

bootlegcms's Introduction

####Setup Instructions:

  1. install & setup laravel laravel:

    composer create-project laravel/laravel=5.0.22 mixtapes --prefer-dist
    

    ..then do database, migrations, etc

  2. add in cms to composer:

    composer require 'bootleg/cms:dev-master'
    
  3. Remove contents of default laravel routes file:

    app/Http/routes.php
    
  4. Add in service providers: config/app.php:

    //service providers
    'Bootleg\Cms\CmsServiceProvider', 
    'Collective\Html\HtmlServiceProvider'
    
    //aliasses
    'Form' => 'Collective\Html\FormFacade', 
    'Html' => 'Collective\Html\HtmlFacade',
    
  5. Register permissions middleware: app/Http/Kernal.php:

    'permissions' => 'Bootleg\Cms\Middleware\Permissions',
    
  6. Publish assets for cms:

    php artisan vendor:publish
    
  7. composer dump-autoload to make sure you've got all the migrations and config files included.

    composer dump-autoload
    

===

You then should set up the database:

  1. Run migration:

    php artisan migrate
    
  2. Run seeding:

    php artisan db:seed --class="Bootleg\Cms\BootlegSeeder"
    

===

####You then need to make a theme or plugin.

######via Laravel 4.2's workbench: You can still use laravel 4's workbench to set up a theme.

  1. composer.json:

    composer require "illuminate/workbench:dev-master"
    
  2. Add in service provider:

    "Illuminate\Workbench\WorkbenchServiceProvider", 
    
  3. Create workbench config file config/workbench.php

    <?php
    return [
        'name' => 'Simon Davies',
        'email' => '[email protected]',
    ];
    

    ..and composer dump-autoload

  4. Add run workbench command to create a workbench item:

    php artisan workbench vendor/package --resources
    
  5. Add this into composer.json

    "autoload": {
        "classmap": [
            "workbench/vendor/package/src"
            ..
        ]
    }
    
  6. Optionally add this into the plugins table OR You can include it into config/app.php

######via Manual: You can of course create a plugin manually with whatever structure makes sense to you.. A base template for a theme can be found here: Sample theme.

bootlegcms's People

Contributors

ryanbc avatar noodlewitt avatar chaddles23 avatar

Stargazers

snipe avatar Nai Saevang avatar its avatar

Watchers

its avatar James Cloos avatar  avatar  avatar

bootlegcms's Issues

review upload code.

Probably needs validation, allowed file types, file sizes etc. JSON object for this?

re-work new content item creation.

We don't want to create all the content items imediatly.. just use the ones that we've been given and add the rest from content_default_fields

Loading indicator when modifying content tree

Currently, when creating/moving/updating items in the content tree, a user can still interact with the tree while it is updating in the database. Any changes during this short period are not saved, and can cause a glitchy interface until the user refreshes.

Save content items ajaxically

Refreshing the entire page can take time if you're deep within the content tree. Saving via ajax would be more seamless.

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.