ghadagesandip / cakephp2.0-metronic-theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cakephp2.0-metronic-theme

How to setup applications ?

  • clone code in apache webroot dir, using following command.

    git clone https://github.com/ghadagesandip/cakephp2.0-metronic-theme

  • create database and setup connection Config/database.php

  • Run following command to install cakephp libraries using composer > composer install

  • now create 'tmp' directory in project root folder and set write permissions to 'tmp' directory

  • run following command in project roor dir to create role and users table from schema file > Console/cake schema update

This will create roles and users table
  • change values for Security.salt and Security.cipherSeed in Config/core.php (not mandatory)

  • Now, application setup is done. We have to create user to login in to system.Use following commands to create user

    Console/cake user add

### Other available shell commands 

-  List roles :
    > Console/cake role show
  
-  Add role : 
    > Console/cake role add 'Rolename'
    
-  Add User : 
    > Console/cake user add

About


Languages

Language:JavaScript 55.4%Language:HTML 24.5%Language:CSS 13.9%Language:PHP 4.9%Language:CoffeeScript 1.0%Language:Go 0.1%Language:Python 0.1%Language:Shell 0.1%Language:Batchfile 0.0%Language:Ruby 0.0%Language:ApacheConf 0.0%Language:Makefile 0.0%