Git Product home page Git Product logo

ravel's Introduction

Ravel

STATUS: UNDER DEVELOPMENT

RavelCMS Ver 1 is getting ready to be released.

  • I am planning to change the whole design of the admin panel soon.
  • Here is a preview of the new design. Screenshot

CMS Package for Laravel 4

Screenshot

How to Install

	"require": {
		"raftalks/ravel": "*"
	}
  • Configure your database settings in the L4 app/config/database.php file
  • Open your terminal in the L4 App root directory and run php composer.phar update command
  • Add Ravel Service Provider to the app/config/app.php file under the array key "providers" as shown below
'providers' => array(
		
		'Raftalks\Ravel\RavelServiceProvider',

)
  • And run the following command in the terminal to start installing the CMS package
 php artisan ravel:install
  • The above command will publish all the assets and run the migration and seeds
  • Before using Ravel CMS, you may want to do some configuration changes like setup a username and password, look inside vendor/raftalks/ravel/src/config/app.php file, by default the username is "admin" and password is "ravel".

How to update the package

  • Use the following composer update command to download the updates
php composer.phar update
  • and after downloading the updates, run the following artisan command to make sure migrations and package assets gets updated
php artisan ravel:update

Setting up custom fields to Post and Page

  • Check the config file under the package path app/config/packages/raftalks/ravel/content.php
'custom_fields' => array(

			//'example'
			//'post'		=> array(
							// 		"{metakey}" => array('label'=>'{name}','type'=>'{text}', 'attr'=>array(), 'options'=>array())
							// )

			'post'			=> array(
								'somefield' => array('label'=>'custom field','type'=>'input_checkbox'),
								'custom_field3' => array('label'=>'custom field','type'=>'ng_datepicker'),
								'custom_field2' => array('label'=>'custom field2','type'=>'select','options'=>array(1=>'test',2=>'two',3=>'three',4=>'four'))
								),

			'page'			=> array(),

			'attachement'	=> array(),

		),

Admin Panel

  • By default the CMS admin panel is available on http://www.domain.com/admin and you can change the base url to admin panel by changing the app config file of the package.

Documentation will be updated soon

ravel's People

Contributors

fr6 avatar raftalks avatar

Watchers

 avatar  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.