Git Product home page Git Product logo

nextcms's Introduction

NextCMS

NextCMS is a next generation of content management system for the enterprises, powered by:

Requirements

  • PHP 5.4

NextCMS uses some PHP 5.4 features such as short syntax of array ([]), trait

  • PHP extensions:
    • intl: Required by I18n module

Demo

Coming soon

Installation

Configure the web server

NextCMS consists of two sites:

  • The main website located at the src\web\www directory
  • The asset website which stores the CSS, Javascript libraries located at the src\asset directory

Assume that these websites run under nextcms.local and asset.nextcms.local domains, respectively.

Use following settings to config nginx web server:

server {
    listen      80;
    server_name nextcms.local;

    # Please CHANGE to your directory
    error_log   /Volumes/data/projects_workspace/nextcms/logs/error.log;

    # Please CHANGE to your directory
    root        /Volumes/data/projects/nextcms/src/web/www;
    index       index.php;

    location ~ (\.phtml)$ {
        deny all;
    }
    location / {
        try_files $uri @rewrite;
    }
    location @rewrite {
        rewrite ^/(.*)$ /index.php;
    }
    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt { access_log off; log_not_found off; }
    location ~ \.php$ {
        fastcgi_pass                127.0.0.1:9000;
        fastcgi_index               index.php;
        fastcgi_intercept_errors    on;
        fastcgi_param               SCRIPT_FILENAME     $document_root$fastcgi_script_name;
        fastcgi_param               APPLICATION_ENV     dev;
        fastcgi_param               APPLICATION_NAME    nextcms;
        include                     fastcgi_params;
    }
}
server {
    listen      80;
    server_name asset.nextcms.local;

    # Please CHANGE to your directory
    error_log   /Volumes/data/projects_workspace/nextcms/logs/asset.error.log;

    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt { access_log off; log_not_found off; }

    # Please CHANGE to your directory
    root /Volumes/data/projects/nextcms/src/asset;

    location ~* \.(eot|ttf|woff)$ {
        add_header Access-Control-Allow-Origin *;
    }
}

Author

You can contact the author at:

Copyright

Copyright (c) 2013 Nguyen Huu Phuoc

NextCMS is licensed under MIT license.

nextcms's People

Contributors

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