Giter Site home page Giter Site logo

mvccore / project-portable Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 659 KB

MvcCore empty template project skeleton for portable packing/building.

License: BSD 3-Clause "New" or "Revised" License

PHP 97.28% Batchfile 1.39% Shell 1.33%
mvccore portable single-file building packing skeleton portable-skeleton

project-portable's Introduction

MvcCore - Project - Template For Portable Packing

Latest Stable Version License Packager Build PHP Version

  • MvcCore empty template project skeleton for portable packing/building.
  • Project is configured to pack with Packager in strict package mode but is possible to reconfigure it to any mixed mode with hard drive.
  • All assets has to be hardly linked for strict package mode with MvcCore Extension - View Helper Assets.

Instalation

# load MvcCore project template skeleton for portable packing/building
composer create-project mvccore/project-portable ./my-portable-project

# go to project root dir
cd my-portable-project

# load MvcCore basic website project template for portable packing/building
composer create-project mvccore/project-basic-portable development

# ... now you can do anything in development dir

Build

1. Prepare application

  • go to my-portable-project-structure/development
  • clear everything in ./Var/Tmp/
  • uncomment ->SetCompiled(\MvcCore\Application::COMPILED_SFU) in ./index.php
  • visit all application routes where are different JS/CSS bundles groups to generate ./Var/Tmp/ content for result app
  • run build process

2. Build

Linux:

# go to project root dir
cd ./my-portable-project/build
# run build process into single PHP file
sh make.sh

Windows:

# go to project root dir
cd ./my-portable-project/build
# run build process into single PHP file
make.cmd

Browser:

# visit script `make-php.php` in your project root directory:
http://localhost/my-portable-project/build/make-php.php

Result

project-portable's People

Contributors

tomflidr avatar

Stargazers

 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.