Skip to content
Instante - improved Nette project skeleton
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
frontend
log
migrations
temp
tests
vendor
www
.gitattributes
.gitignore
.travis.yml
composer.json
instante
license.md
readme.md

readme.md

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

Build Status Downloads this Month Latest stable

Create new application using Instante:

  1. install skeleton (stable) using composer to current directory:

    composer create-project instante/skeleton .
    

    To install current development release, use

    composer create-project instante/skeleton . dev-master
    
  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 gulp and bower as global node.js module
your-project/frontend$ npm install -g gulp
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$ gulp

the watchdog starts to automatically optimize images and svgs, compile css, js and requirejs schema on any change.

More about frontend build process and folder structure at frontend/readme.md

You can’t perform that action at this time.