skeleton travis-ci Packagist

Instante - improved Nette project skeleton

  ___           _              _                   //
 |_ _|_ __  ___| |_ __ _ _ __ | |_ ___       .∩∩.//
  | || '_ \/ __| __/ _` | '_ \| __/ _ \     .∩∩∩∩.
  | || | | \__ \ || (_| | | | | ||  __/    \     ) /
 |___|_| |_|___/\__\__,_|_| |_|\__\___|     \_____/

Build Status Downloads this Month Latest stable

Create new application using Instante:

  1. install skeleton using composer:

    composer create-project instante/skeleton .
    
  2. customize this readme.md to correspond to your new project (and remove this “Create new application” section)

  3. use bin/deployment/init-project.php to initialize your new project or customize composer.json, frontend/package.json, frontend/bower.json with your own project name, description, license etc.

  4. initialize new git repository in project’s folder:

    git init
    # on windows, use bin/git/setup-git.cmd to use LF line endings
    git add .
    git commit -m "initial commit"
    

Deploy application:

  1. install dependencies by executing composer install from project root
  2. Ensure that the database schema exists and is empty. Optionally, you may create one extra database schema for tests.
  3. Ensure that the www server has write access to these folders
    • temp
    • log
  4. setup local environment using bin/deployment/deploy-project.php

Develop/compile frontend:

install node.js, then use shell commands:

    # setup
    # install grunt CLI and bower as global node.js module
    your-project/frontend$ npm install -g grunt-cli
    your-project/frontend$ npm install -g bower

    # install local grunt packages
    your-project/frontend$ npm install

    # install local bower components
    your-project/frontend$ bower install

    # start watchdog
    your-project/frontend$ grunt

the watchdog starts to automatically compile less and js on any change.

Managing composer packages:

To install new dependency - library:

  1. add the dependency to composer.json
  2. run composer update --lock - the –lock parameter preserves versions of other libraries.

Related Repositories

Skeleton

Skeleton

Skeleton: A Dead Simple, Responsive Boilerplate for Mobile-Friendly Development ...

Silex-Skeleton

Silex-Skeleton

A skeleton to get started with Silex ...

Slim-Skeleton

Slim-Skeleton

Slim Framework 3 skeleton application ...

appengine-flask-skeleton

appengine-flask-skeleton

A skeleton for creating Python applications using the Flask framework on App Engine ...

puppet-module-skeleton

puppet-module-skeleton

A pretty opinionated skeleton for writing your own puppet modules ...


Top Contributors

richard-ejem MartinStepar honzaskovran honzagula

Releases

-   0.10.0 zip tar
-   0.9.9 zip tar
-   0.9.8 zip tar
-   0.9.7 zip tar
-   0.9.6 zip tar
-   0.9.5 zip tar
-   0.9.4 zip tar
-   0.9.3 zip tar
-   0.9.2 zip tar
-   0.9.1 zip tar
-   0.9.0 zip tar