Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.88 KB

installation.md

File metadata and controls

55 lines (34 loc) · 1.88 KB

##Installation and Download

###General Installation Considerations

Before starting the installation, first you need to know what do you want to use FIS for. FIS contains tools(automation tool, front end package management tool), framework(module loader, smarty plugins, etc), development environment(server,back end environmental requirements).

###Automation tool

Performing repetitive tasks like compilation, minification, adding md5 timestamp, linting, etc. FIS automation tool depends on Node version>= 0.8 and npm. You need to install nodejs first, then you can install fis via npm:

npm install fis-plus -g

check the fisp version

fisp -v

fisp version

###Front end package management tool(referred to as lights)

Make it exceedingly simple to find, install and keep packages up-to-date. Lights depends on Node and npm. You can install lights client via npm:

$npm install lights -g

View all packages available through Lights's registry.

###High-performance module development framework

Includes front-end module loader, back-end smarty plugins, etc. It can efficiently control the loading of static resources. We can install them via lights:

//download front-end module loader
$lights install modjs

//download back-end smarty plugins
$ligths install pc-plugin

There are alse other back-end solutions coming soon, like java, go, etc.

###Development environment

In case of setting up the server and php on your own computer, you need Java version >= 1.6 and php. After install Java and php, you can init you fis development enviroment:

$ fisp server init

Then we can have A simple fis tutorial to feel fis.