2017 © Pedro Peláez
 

library jupiter

Socieboy Jupiter it's a quick CMS base for Laravel

image

socieboy/jupiter

Socieboy Jupiter it's a quick CMS base for Laravel

  • Thursday, March 3, 2016
  • by socieboy
  • Repository
  • 1 Watchers
  • 1 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Jupiter CMS

Introduction

First, install the Jupiter installer and make sure that the global Composer bin directory is within your system's $PATH:, (*1)

composer global require "socieboy/jupiter-installer=~1.0"

Installation

Next, create a new Laravel application., (*2)

laravel new application
cd application

Before install the Jupiter CMS, you should configure the settings of your database on the .env file., (*3)

DB_DATABASE=your_database
DB_USERNAME=homestead
DB_PASSWORD=secret

Next run the command, (*4)

jupiter install

During the proccess of the installation you will be asked if you want to install the migrations, if you set the database settings, type YES and continue., (*5)

Next, you will be asked to install, NPM, Bower and run Gulp, we recommend to type YES., (*6)

Jupiter CMS Default values

Users

You can change those values on the database\seeds\UserTableSeeder class of the system., (*7)

  • Super Administrador - This user won't be displayed on the system. (I recommen to keep this user for the developer.), (*8)

    • Email: suadmin@suadmin.com
    • Password: suadmin
  • Administrator, (*9)

    • Email: admin@admin.com
    • Password: admin

Roles

  • dashboard
    • This role is assigned to all users that can access the dashboard.
  • super_admin
    • This role is assigned to the Super Admin and it won't be displayed on the roles table of the system.
  • manage_roles
    • This role is assigned to the Administrator user to manage the CRUD of Roles and Permission.
  • manage_users
    • This role is assigned to the Administrator user to manage the CRUD of Users.

Permissions

The dashboard permisison is assigned to the dashboard role. - dashboard, (*10)

Those permisison are assigned to the super_admin. - read_permissions - create_permissions - update_permissions - delete_permissions, (*11)

Those permission are assigned to the role manage_roles and super_admin. - read_roles - create_roles - update_roles - delete_roles, (*12)

Those permission are assigned to the role manage_users and super_admin. - read_users - create_users - update_users - delete_users, (*13)

If you want to create your own permissions there is a PermissionTableSeeder class on the database\seeds\ folder. Define a permission to upload a photo., (*14)

 Permission::create([
    'name' => 'upload_photo',
    'label' => 'Can upload photos'
  ]);

Extend your application and use the ACL.

On your controller you can do that:, (*15)

public function store(UploadPhotoRequest $request)
{
  $this->authorize('upload_photo');
  (new UploadPhoto($request->file('photo')));
}

On the views you can use the blade directives, (*16)

@can('upload_photo')
  <a href="/photos/create">Upload photo</a>
@endcan

Dashboard

Visit the route /admin and you will be redirected to the login to get access to the dashboard., (*17)

http://localhost/admin

The Versions

03/03 2016

dev-master

9999999-dev

Socieboy Jupiter it's a quick CMS base for Laravel

  Sources   Download

MIT

The Requires

 

by Francisco Sepulveda

laravel cms socieboy jupiter

20/02 2016

v1.5.1

1.5.1.0

Socieboy Jupiter it's a quick CMS base for Laravel

  Sources   Download

MIT

The Requires

 

by Francisco Sepulveda

laravel cms socieboy jupiter

20/02 2016

v1.5

1.5.0.0

Socieboy Jupiter it's a quick CMS base for Laravel

  Sources   Download

MIT

The Requires

 

by Francisco Sepulveda

laravel cms socieboy jupiter

20/02 2016

v1.4

1.4.0.0

Socieboy Jupiter it's a quick CMS base for Laravel

  Sources   Download

MIT

The Requires

 

by Francisco Sepulveda

laravel cms socieboy jupiter

18/02 2016

v1.3

1.3.0.0

Socieboy Jupiter it's a quick CMS base for Laravel

  Sources   Download

MIT

The Requires

 

by Francisco Sepulveda

laravel cms socieboy jupiter

18/02 2016

v1.2

1.2.0.0

Socieboy Jupiter it's a quick CMS base for Laravel

  Sources   Download

MIT

The Requires

 

by Francisco Sepulveda

laravel cms socieboy jupiter

18/02 2016

v1.1

1.1.0.0

Socieboy Jupiter it's a quick CMS base for Laravel

  Sources   Download

MIT

The Requires

 

by Francisco Sepulveda

laravel cms socieboy jupiter

18/02 2016

v1.0

1.0.0.0

Socieboy Jupiter it's a quick CMS base for Laravel

  Sources   Download

MIT

The Requires

 

by Francisco Sepulveda

laravel cms socieboy jupiter