Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    chameleon-templatepublic

    Admin Revamp

    The new Admin site built on https://github.com/edmodo/chameleon.

    Installation

    $ npm install
    $ npm install -g bower
    $ bower install
    $ npm install -g grunt-cli
    $ grunt server
    

    Modifying the layout file

    In app/templates is a file named __layout.default.hbs. During compilation and/or when you start the server, this file is copied to __layout.hbs. If you want to modify anything in the layout file, be sure to do it to __layout.default.hbs.

    __layout.hbs is ignored by git.

    But don't modify the path of the assets /mergedAssets.js and /styles.css. If you need to modify these or add new assets, that is done in Gruntfile.js.

    Topbar

    • The default topbar is the public version of the Edmodo topbar
    • We'll have other topbars for other types of accounts

    create assets directory with a template index.less file that imports all the other less files in the node_modules/chameleon/assets directory

    It should have all the /auth assets by default && it needs to ask during the chameleon-util creation process if you want auth or not.

    By default we should not be requiring the user to authenticate for a chameleon application

    Sessions

    We use the Mozilla client-sessions cookie module (sets and encrypts sessions on the client).

    We also use Express' session management so traditional testing functionality continues to work.

    Keywords

    none

    install

    npm i chameleon-template

    Downloadsweekly downloads

    5

    version

    0.0.2

    license

    none

    last publish

    collaborators

    • avatar