Code Monkey home page Code Monkey logo

bootstrap-yii2's Introduction

Bootstrap for Yii2

Build Status Code Coverage codecov.io Scrutinizer Code Quality

Features

Screenshots:

Installation

  1. Create project

    composer global require "fxp/composer-asset-plugin:~1.0"
    composer create-project --prefer-dist --stability=dev rkit/bootstrap-yii2
    
  2. Check requirements

    php requirements.php
    
  3. Create a new database and local config

    php yii create-local-config/init --path=@app/config/local/config.php
    

    config will be created in config/local/config.php

  4. Run

    npm install
    npm run build
    php yii migrate --migrationPath=@yii/log/migrations/ --interactive=0
    php yii migrate --migrationPath=@yii/rbac/migrations/ --interactive=0
    php yii migrate --migrationPath=@vendor/rkit/filemanager-yii2/src/migrations/ --interactive=0
    php yii migrate --migrationPath=@vendor/rkit/settings-yii2/src/migrations/ --interactive=0
    php yii migrate/up --interactive=0
    php yii rbac/init --path=@app/config/permissions.php
    

Access to the Control Panel

username: editor  
password: fghfgh

Configuring Server

Set document root to be /path/to/source/web

Development

Debug mode

  • Apache Configuration

    SetEnv APPLICATION_ENV "development"
  • Nginx Configuration

    fastcgi_param APPLICATION_ENV development;

Assets

  • Watch mode (debug)

    npm run watch
    
  • Build for production

    npm run build
    

Tests

Coding Standard

bootstrap-yii2's People

Contributors

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