Installation¶
Manual Installation¶
The Blocks framework repository holds the released versions of the framework.
Develop your app inside the app folder, and the public folder will be your public-facing document root. Do not change anything inside the system folders!
Via Composer Create-Project¶
Alternatively, you may also install Blocks by issuing the Composer create-project command in your terminal:
composer create-project blocks/framework projectName
Installation¶
Download the latest version , and extract it to become your project root.
Setting Up¶
- Download and install Composer
- Download and install Node js
- Run
npm install
(Installing command-line tool (CLI)) - Run
composer install
- In gulpfile.js on line 61 change proxy from http://localhost/blocks to http://localhost/<your directory name>
- In .htaccess in the public directory change line 3 from RewriteBase /blocks/public to RewriteBase /<your directory name>/public