{"id":1801,"date":"2017-02-10T07:53:30","date_gmt":"2017-02-10T07:53:30","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=1801"},"modified":"2017-02-10T15:01:40","modified_gmt":"2017-02-10T15:01:40","slug":"phalcon-cmf-yona-e-commerce","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2017\/02\/10\/phalcon-cmf-yona-e-commerce\/","title":{"rendered":"Phalcon CMF: Yona E-commerce"},"content":{"rendered":"<p>Source: <a href=\"https:\/\/github.com\/oleksandr-torosh\/yona-ecommerce\">https:\/\/github.com\/oleksandr-torosh\/yona-ecommerce<\/a><\/p>\n<p>Yona E-commerce<br \/>\nE-commerce CMF based on Phalcon PHP Framework<\/p>\n<p>Installation:<\/p>\n<ol>\n<li>clone the github repository\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon$ git clone https:\/\/github.com\/oleksandr-torosh\/yona-ecommerce.git\r\nCloning into 'yona-ecommerce'...\r\nremote: Counting objects: 197, done.\r\nremote: Compressing objects: 100% (95\/95), done.\r\nremote: Total 197 (delta 58), reused 197 (delta 58), pack-reused 0\r\nReceiving objects: 100% (197\/197), 36.59 KiB | 0 bytes\/s, done.\r\nResolving deltas: 100% (58\/58), done.\r\nChecking connectivity... done.<\/pre>\n<p>Note: The description on the github said to clone with &#8216;git clone git@githubcom:oleksandr-torosh\/yona-ecommerce.git&#8217; BUT IT GAVE ME ERROR (ALSO the git url IS WRONG! it is supposed to &#8216;@github.com&#8230;&#8217; NOT &#8216;@githucom&#8230;&#8217;<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon$ git clone git@github.com:oleksandr-torosh\/yona-ecommerce.git\r\nCloning into 'yona-ecommerce'...\r\nWarning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.\r\nPermission denied (publickey).\r\nfatal: Could not read from remote repository.\r\n\r\nPlease make sure you have the correct access rights\r\nand the repository exists.<\/pre>\n<\/li>\n<li>Go into &#8216;yona-ecommerce\/&#8217; directory then use composer to install the dependencies\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ composer install\r\nYou are running composer with xdebug enabled. This has a major impact on runtime performance. See https:\/\/getcomposer.org\/xdebug\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\n  - Installing symfony\/yaml (v3.2.3)\r\n    Loading from cache\r\n\r\n  - Installing psr\/log (1.0.2)\r\n    Loading from cache\r\n\r\n  - Installing symfony\/debug (v3.2.3)\r\n    Loading from cache\r\n\r\n  - Installing symfony\/polyfill-mbstring (v1.3.0)\r\n    Loading from cache\r\n\r\n  - Installing symfony\/console (v3.2.3)\r\n    Loading from cache\r\n\r\n  - Installing symfony\/filesystem (v3.2.3)\r\n    Loading from cache\r\n\r\n  - Installing symfony\/config (v3.2.3)\r\n    Loading from cache\r\n\r\n  - Installing robmorgan\/phinx (dev-master d575d4c)\r\n    Cloning d575d4c6c4685be1213673be314d1b15d56f51be\r\n\r\n  - Installing league\/flysystem (dev-master dda7f3a)\r\n    Cloning dda7f3ab94158a002d9846a97dc18ebfb7acc062\r\n\r\n  - Installing vlucas\/phpdotenv (v2.4.0)\r\n    Loading from cache\r\n\r\n  - Installing guzzlehttp\/promises (v1.3.1)\r\n    Loading from cache\r\n\r\n  - Installing psr\/http-message (1.0.1)\r\n    Loading from cache\r\n\r\n  - Installing guzzlehttp\/psr7 (1.3.1)\r\n    Loading from cache\r\n\r\n  - Installing guzzlehttp\/guzzle (6.2.2)\r\n    Loading from cache\r\n\r\nsymfony\/console suggests installing symfony\/event-dispatcher ()\r\nsymfony\/console suggests installing symfony\/process ()\r\nleague\/flysystem suggests installing league\/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)\r\nleague\/flysystem suggests installing league\/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)\r\nleague\/flysystem suggests installing league\/flysystem-azure (Allows you to use Windows Azure Blob storage)\r\nleague\/flysystem suggests installing league\/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)\r\nleague\/flysystem suggests installing league\/flysystem-copy (Allows you to use Copy.com storage)\r\nleague\/flysystem suggests installing league\/flysystem-dropbox (Allows you to use Dropbox storage)\r\nleague\/flysystem suggests installing league\/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)\r\nleague\/flysystem suggests installing league\/flysystem-rackspace (Allows you to use Rackspace Cloud Files)\r\nleague\/flysystem suggests installing league\/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)\r\nleague\/flysystem suggests installing league\/flysystem-webdav (Allows you to use WebDAV storage)\r\nleague\/flysystem suggests installing league\/flysystem-ziparchive (Allows you to use ZipArchive adapter)\r\nWriting lock file\r\nGenerating autoload files<\/pre>\n<\/li>\n<li>Use &#8216;bower install&#8217;\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ bower install\r\nmodule.js:472\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'internal\/fs'\r\n    at Function.Module._resolveFilename (module.js:470:15)\r\n    at Function.Module._load (module.js:418:25)\r\n    at Module.require (module.js:498:17)\r\n    at require (internal\/module.js:20:19)\r\n    at evalmachine.&lt;anonymous&gt;:17:20\r\n    at Object.&lt;anonymous&gt; (\/usr\/lib\/node_modules\/bower\/node_modules\/graceful-fs\/fs.js:11:1)\r\n    at Module._compile (module.js:571:32)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)<\/pre>\n<p>I got an error &#8220;Error: Cannot find module &#8216;internal\/fs'&#8221;. From this https:\/\/github.com\/bower\/bower\/issues\/2393, I tried to run bower locally &#8216;npm install bower&#8217;<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ npm install bower\r\n\/home\/teddy\/Documents\/works\/phalcon\/yona-ecommerce\r\n\u2514\u2500\u2500 bower@1.8.0 \r\n\r\nnpm WARN enoent ENOENT: no such file or directory, open '\/home\/teddy\/Documents\/works\/phalcon\/yona-ecommerce\/package.json'\r\nnpm WARN yona-ecommerce No description\r\nnpm WARN yona-ecommerce No repository field.\r\nnpm WARN yona-ecommerce No README data\r\nnpm WARN yona-ecommerce No license field.<\/pre>\n<p>Then run &#8216;node_modules\/bower\/bin\/bower install&#8217;<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ node_modules\/bower\/bin\/bower install\r\nbower not-cached    https:\/\/github.com\/cloudfour\/hideShowPassword.git#*\r\nbower resolve       https:\/\/github.com\/cloudfour\/hideShowPassword.git#*\r\nbower not-cached    https:\/\/github.com\/browserstate\/history.js.git#*\r\nbower resolve       https:\/\/github.com\/browserstate\/history.js.git#*\r\nbower not-cached    https:\/\/github.com\/FortAwesome\/Font-Awesome.git#*\r\nbower resolve       https:\/\/github.com\/FortAwesome\/Font-Awesome.git#*\r\nbower not-cached    https:\/\/github.com\/lodash\/lodash.git#*\r\nbower resolve       https:\/\/github.com\/lodash\/lodash.git#*\r\nbower not-cached    https:\/\/github.com\/aFarkas\/html5shiv.git#*\r\nbower resolve       https:\/\/github.com\/aFarkas\/html5shiv.git#*\r\nbower not-cached    https:\/\/github.com\/zeroclipboard\/zeroclipboard.git#*\r\nbower resolve       https:\/\/github.com\/zeroclipboard\/zeroclipboard.git#*\r\nbower not-cached    https:\/\/github.com\/jquery\/jquery-dist.git#*\r\nbower resolve       https:\/\/github.com\/jquery\/jquery-dist.git#*\r\nbower not-cached    https:\/\/github.com\/johnpapa\/toastr-bower.git#*\r\nbower resolve       https:\/\/github.com\/johnpapa\/toastr-bower.git#*\r\nbower not-cached    https:\/\/github.com\/less\/less.git#*\r\nbower resolve       https:\/\/github.com\/less\/less.git#*\r\nbower not-cached    https:\/\/github.com\/scottjehl\/Respond.git#*\r\nbower resolve       https:\/\/github.com\/scottjehl\/Respond.git#*\r\nbower not-cached    https:\/\/github.com\/Semantic-Org\/Semantic-UI.git#2.*\r\nbower resolve       https:\/\/github.com\/Semantic-Org\/Semantic-UI.git#2.*\r\nbower download      https:\/\/github.com\/browserstate\/history.js\/archive\/1.8.0.tar.gz\r\nbower download      https:\/\/github.com\/aFarkas\/html5shiv\/archive\/3.7.3.tar.gz\r\nbower download      https:\/\/github.com\/FortAwesome\/Font-Awesome\/archive\/v4.7.0.tar.gz\r\nbower download      https:\/\/github.com\/lodash\/lodash\/archive\/4.17.4.tar.gz\r\nbower download      https:\/\/github.com\/jquery\/jquery-dist\/archive\/3.1.1.tar.gz\r\nbower download      https:\/\/github.com\/zeroclipboard\/zeroclipboard\/archive\/v2.3.0.tar.gz\r\nbower download      https:\/\/github.com\/johnpapa\/toastr-bower\/archive\/2.1.3.tar.gz\r\nbower download      https:\/\/github.com\/less\/less\/archive\/v2.7.2.tar.gz\r\nbower extract       html5shiv#* archive.tar.gz\r\nbower resolved      https:\/\/github.com\/aFarkas\/html5shiv.git#3.7.3\r\nbower download      https:\/\/github.com\/Semantic-Org\/Semantic-UI\/archive\/2.2.7.tar.gz\r\nbower extract       toastr#* archive.tar.gz\r\nbower resolved      https:\/\/github.com\/johnpapa\/toastr-bower.git#2.1.3\r\nbower not-cached    https:\/\/github.com\/jquery\/jquery-dist.git#&gt;=1.6.3 &lt;3\r\nbower resolve       https:\/\/github.com\/jquery\/jquery-dist.git#&gt;=1.6.3 &lt;3\r\nbower download      https:\/\/github.com\/jquery\/jquery-dist\/archive\/2.2.4.tar.gz\r\nbower extract       lodash#* archive.tar.gz\r\nbower extract       zeroclipboard#* archive.tar.gz\r\nbower extract       history.js#* archive.tar.gz\r\nbower resolved      https:\/\/github.com\/zeroclipboard\/zeroclipboard.git#2.3.0\r\nbower extract       jquery#* archive.tar.gz\r\nbower resolved      https:\/\/github.com\/lodash\/lodash.git#4.17.4\r\nbower resolved      https:\/\/github.com\/browserstate\/history.js.git#1.8.0\r\nbower resolved      https:\/\/github.com\/jquery\/jquery-dist.git#3.1.1\r\nbower extract       jquery#&gt;=1.6.3 &lt;3 archive.tar.gz\r\nbower resolved      https:\/\/github.com\/jquery\/jquery-dist.git#2.2.4\r\nbower extract       semantic#2.* archive.tar.gz\r\nbower resolved      https:\/\/github.com\/Semantic-Org\/Semantic-UI.git#2.2.7\r\nbower retry         Download of https:\/\/github.com\/FortAwesome\/Font-Awesome\/archive\/v4.7.0.tar.gz failed with ETIMEDOUT, retrying in 1.1s\r\nbower retry         Download of https:\/\/github.com\/less\/less\/archive\/v2.7.2.tar.gz failed with ETIMEDOUT, retrying in 1.3s\r\nbower extract       less#* archive.tar.gz\r\nbower resolved      https:\/\/github.com\/less\/less.git#2.7.2\r\nbower retry         Download of https:\/\/github.com\/FortAwesome\/Font-Awesome\/archive\/v4.7.0.tar.gz failed with ETIMEDOUT, retrying in 2.7s\r\nbower retry         Download of https:\/\/github.com\/FortAwesome\/Font-Awesome\/archive\/v4.7.0.tar.gz failed with ETIMEDOUT, retrying in 7.2s\r\nbower extract       font-awesome#* archive.tar.gz\r\nbower resolved      https:\/\/github.com\/FortAwesome\/Font-Awesome.git#4.7.0\r\nbower download      https:\/\/github.com\/cloudfour\/hideShowPassword\/archive\/v2.0.11.tar.gz\r\nbower extract       hideshowpassword#* archive.tar.gz\r\nbower resolved      https:\/\/github.com\/cloudfour\/hideShowPassword.git#2.0.11\r\nbower download      https:\/\/github.com\/scottjehl\/Respond\/archive\/1.4.2.tar.gz\r\nbower extract       respond#* archive.tar.gz\r\nbower resolved      https:\/\/github.com\/scottjehl\/Respond.git#1.4.2\r\nbower install       html5shiv#3.7.3\r\nbower install       toastr#2.1.3\r\nbower install       zeroclipboard#2.3.0\r\nbower install       lodash#4.17.4\r\nbower install       history.js#1.8.0\r\nbower install       jquery#2.2.4\r\nbower install       semantic#2.2.7\r\nbower install       less#2.7.2\r\nbower install       font-awesome#4.7.0\r\nbower install       hideshowpassword#2.0.11\r\nbower install       respond#1.4.2\r\n\r\nhtml5shiv#3.7.3 public\/components\/html5shiv\r\n\r\ntoastr#2.1.3 public\/components\/toastr\r\n\u2514\u2500\u2500 jquery#2.2.4\r\n\r\nzeroclipboard#2.3.0 public\/components\/zeroclipboard\r\n\r\nlodash#4.17.4 public\/components\/lodash\r\n\r\nhistory.js#1.8.0 public\/components\/history.js\r\n\r\njquery#2.2.4 public\/components\/jquery\r\n\r\nsemantic#2.2.7 public\/components\/semantic\r\n\u2514\u2500\u2500 jquery#2.2.4\r\n\r\nless#2.7.2 public\/components\/less\r\n\r\nfont-awesome#4.7.0 public\/components\/font-awesome\r\n\r\nhideshowpassword#2.0.11 public\/components\/hideshowpassword\r\n\u2514\u2500\u2500 jquery#2.2.4\r\n\r\nrespond#1.4.2 public\/components\/respond<\/pre>\n<p>But when I tried to run again &#8216;bower install&#8217;, the error still persist!<br \/>\nActually I continued to execute #4 and #5 below but I still curious about the bower!<br \/>\nI checked my current node (7.2.1) and npm (3.10.10) version<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ node -v\r\nv7.2.1\r\nteddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ npm -v\r\n3.10.10<\/pre>\n<p>BUT I CAN&#8217;T CHECK BOWER VERSION. IT SHOWED THE SAME ERROR LIKE ABOVE!<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ bower -v\r\nmodule.js:472\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'internal\/fs'\r\n    ...<\/pre>\n<p>I read some clue like install node earlier version (downgrade) like version 4.1.1<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ sudo n 4.1.1\r\n\r\n     install : node-v4.1.1\r\n       mkdir : \/usr\/local\/n\/versions\/node\/4.1.1\r\n       fetch : https:\/\/nodejs.org\/dist\/v4.1.1\/node-v4.1.1-linux-x64.tar.gz\r\n                                                                                                                                                                                                                                 #                                                                                                                                                                                                         ...   9######################################################################## 100,0%\r\n   installed : v4.1.1\r\n<\/pre>\n<p>Now my node version is 4.1.1<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ node -v\r\nv4.1.1<\/pre>\n<p>Update npm<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ sudo npm update -g\r\n\/usr\/local\/bin\/npm -&gt; \/usr\/local\/lib\/node_modules\/npm\/bin\/npm-cli.js<\/pre>\n<p>But &#8216;bower install&#8217; still showed the same error!<br \/>\nTHE WORKING SOLUTION IS DOWNGRADE NODE TO VERSION 6.9.1! First clean npm cache and remove &#8216;node_modules&#8217; directory!<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ npm cache clean\r\nteddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ rm -rf node_modules<\/pre>\n<p>Install node v 6.9.1<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ sudo n 6.9.1\r\n\r\n     install : node-v6.9.1\r\n       mkdir : \/usr\/local\/n\/versions\/node\/6.9.1\r\n       fetch : https:\/\/nodejs.org\/dist\/v6.9.1\/node-v6.9.1-linux-x64.tar.gz\r\n                                                                                                                                                                                                                                 #                                                                          ...   9######################################################################## 100,0%\r\n   installed : v6.9.1<\/pre>\n<p>Install bower (locally???)<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ sudo npm install -g bower\r\n\/usr\/local\/bin\/bower -&gt; \/usr\/local\/lib\/node_modules\/bower\/bin\/bower\r\n\/usr\/local\/lib\r\n\u2514\u2500\u2500 bower@1.8.0<\/pre>\n<p>Check bower version (bower -v) is working now<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ bower -v\r\n1.7.2<\/pre>\n<p>Now &#8216;bower install&#8217; run well (SAME WITH &#8216;node_modules\/bower\/bin\/bower install&#8217; ABOVE!)<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ bower install\r\nbower cached        https:\/\/github.com\/aFarkas\/html5shiv.git#3.7.3\r\nbower validate      3.7.3 against https:\/\/github.com\/aFarkas\/html5shiv.git#*\r\nbower cached        https:\/\/github.com\/jquery\/jquery-dist.git#3.1.1\r\nbower validate      3.1.1 against https:\/\/github.com\/jquery\/jquery-dist.git#*\r\nbower cached        https:\/\/github.com\/less\/less.git#2.7.2\r\nbower validate      2.7.2 against https:\/\/github.com\/less\/less.git#*\r\nbower cached        https:\/\/github.com\/Semantic-Org\/Semantic-UI.git#2.2.7\r\nbower validate      2.2.7 against https:\/\/github.com\/Semantic-Org\/Semantic-UI.git#2.*\r\nbower cached        https:\/\/github.com\/scottjehl\/Respond.git#1.4.2\r\nbower validate      1.4.2 against https:\/\/github.com\/scottjehl\/Respond.git#*\r\nbower cached        https:\/\/github.com\/lodash\/lodash.git#4.17.4\r\nbower validate      4.17.4 against https:\/\/github.com\/lodash\/lodash.git#*\r\nbower cached        https:\/\/github.com\/FortAwesome\/Font-Awesome.git#4.7.0\r\nbower validate      4.7.0 against https:\/\/github.com\/FortAwesome\/Font-Awesome.git#*\r\nbower cached        https:\/\/github.com\/johnpapa\/toastr-bower.git#2.1.3\r\nbower validate      2.1.3 against https:\/\/github.com\/johnpapa\/toastr-bower.git#*\r\nbower cached        https:\/\/github.com\/zeroclipboard\/zeroclipboard.git#2.3.0\r\nbower validate      2.3.0 against https:\/\/github.com\/zeroclipboard\/zeroclipboard.git#*\r\nbower cached        https:\/\/github.com\/browserstate\/history.js.git#1.8.0\r\nbower validate      1.8.0 against https:\/\/github.com\/browserstate\/history.js.git#*\r\nbower cached        https:\/\/github.com\/cloudfour\/hideShowPassword.git#2.0.11\r\nbower validate      2.0.11 against https:\/\/github.com\/cloudfour\/hideShowPassword.git#*\r\nbower cached        https:\/\/github.com\/jquery\/jquery-dist.git#2.2.4\r\nbower validate      2.2.4 against https:\/\/github.com\/jquery\/jquery-dist.git#&gt;=1.6.3 &lt;3\r\nbower install       respond#1.4.2\r\nbower install       html5shiv#3.7.3\r\nbower install       jquery#2.2.4\r\nbower install       semantic#2.2.7\r\nbower install       less#2.7.2\r\nbower install       toastr#2.1.3\r\nbower install       zeroclipboard#2.3.0\r\nbower install       font-awesome#4.7.0\r\nbower install       history.js#1.8.0\r\nbower install       lodash#4.17.4\r\nbower install       hideshowpassword#2.0.11\r\n\r\nrespond#1.4.2 public\/components\/respond\r\n\r\nhtml5shiv#3.7.3 public\/components\/html5shiv\r\n\r\njquery#2.2.4 public\/components\/jquery\r\n\r\nsemantic#2.2.7 public\/components\/semantic\r\n\u2514\u2500\u2500 jquery#2.2.4\r\n\r\nless#2.7.2 public\/components\/less\r\n\r\ntoastr#2.1.3 public\/components\/toastr\r\n\u2514\u2500\u2500 jquery#2.2.4\r\n\r\nzeroclipboard#2.3.0 public\/components\/zeroclipboard\r\n\r\nfont-awesome#4.7.0 public\/components\/font-awesome\r\n\r\nhistory.js#1.8.0 public\/components\/history.js\r\n\r\nlodash#4.17.4 public\/components\/lodash\r\n\r\nhideshowpassword#2.0.11 public\/components\/hideshowpassword\r\n\u2514\u2500\u2500 jquery#2.2.4<\/pre>\n<p>from &#8216;bower.json&#8217;. It&#8217;s a list of packages that required. &#8216;.bowerrc&#8217; is a file to put the bower setting like where to put the downloaded packages. From the content of .bowerrc<\/p>\n<pre class=\"lang:default decode:true \">{\r\n  \"directory\": \"public\/components\/\"\r\n}<\/pre>\n<p>SO &#8216;bower install&#8217; would download the packages and put its into \/public\/components\/ directory of this website!<\/li>\n<li>Next, run &#8216;npm install -g less&#8217;\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ sudo npm install -g less\r\n[sudo] password for teddy: \r\n\/usr\/local\/bin\/lessc -&gt; \/usr\/local\/lib\/node_modules\/less\/bin\/lessc\r\n\/usr\/local\/lib\r\n\u2514\u2500\u252c less@2.7.2 \r\n  \u251c\u2500\u252c errno@0.1.4 \r\n  \u2502 \u2514\u2500\u2500 prr@0.0.0 \r\n  \u251c\u2500\u2500 graceful-fs@4.1.11 \r\n  \u251c\u2500\u2500 image-size@0.5.1 \r\n  \u251c\u2500\u2500 mime@1.3.4 \r\n  \u251c\u2500\u252c mkdirp@0.5.1 \r\n  \u2502 \u2514\u2500\u2500 minimist@0.0.8 \r\n  \u251c\u2500\u252c promise@7.1.1 \r\n  \u2502 \u2514\u2500\u2500 asap@2.0.5 \r\n  \u251c\u2500\u252c request@2.79.0 \r\n  \u2502 \u251c\u2500\u2500 aws-sign2@0.6.0 \r\n  \u2502 \u251c\u2500\u2500 aws4@1.6.0 \r\n  \u2502 \u251c\u2500\u2500 caseless@0.11.0 \r\n  \u2502 \u251c\u2500\u252c combined-stream@1.0.5 \r\n  \u2502 \u2502 \u2514\u2500\u2500 delayed-stream@1.0.0 \r\n  \u2502 \u251c\u2500\u2500 extend@3.0.0 \r\n  \u2502 \u251c\u2500\u2500 forever-agent@0.6.1 \r\n  \u2502 \u251c\u2500\u252c form-data@2.1.2 \r\n  \u2502 \u2502 \u2514\u2500\u2500 asynckit@0.4.0 \r\n  \u2502 \u251c\u2500\u252c har-validator@2.0.6 \r\n  \u2502 \u2502 \u251c\u2500\u252c chalk@1.1.3 \r\n  \u2502 \u2502 \u2502 \u251c\u2500\u2500 ansi-styles@2.2.1 \r\n  \u2502 \u2502 \u2502 \u251c\u2500\u2500 escape-string-regexp@1.0.5 \r\n  \u2502 \u2502 \u2502 \u251c\u2500\u252c has-ansi@2.0.0 \r\n  \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 ansi-regex@2.1.1 \r\n  \u2502 \u2502 \u2502 \u251c\u2500\u2500 strip-ansi@3.0.1 \r\n  \u2502 \u2502 \u2502 \u2514\u2500\u2500 supports-color@2.0.0 \r\n  \u2502 \u2502 \u251c\u2500\u252c commander@2.9.0 \r\n  \u2502 \u2502 \u2502 \u2514\u2500\u2500 graceful-readlink@1.0.1 \r\n  \u2502 \u2502 \u251c\u2500\u252c is-my-json-valid@2.15.0 \r\n  \u2502 \u2502 \u2502 \u251c\u2500\u2500 generate-function@2.0.0 \r\n  \u2502 \u2502 \u2502 \u251c\u2500\u252c generate-object-property@1.2.0 \r\n  \u2502 \u2502 \u2502 \u2502 \u2514\u2500\u2500 is-property@1.0.2 \r\n  \u2502 \u2502 \u2502 \u251c\u2500\u2500 jsonpointer@4.0.1 \r\n  \u2502 \u2502 \u2502 \u2514\u2500\u2500 xtend@4.0.1 \r\n  \u2502 \u2502 \u2514\u2500\u252c pinkie-promise@2.0.1 \r\n  \u2502 \u2502   \u2514\u2500\u2500 pinkie@2.0.4 \r\n  \u2502 \u251c\u2500\u252c hawk@3.1.3 \r\n  \u2502 \u2502 \u251c\u2500\u2500 boom@2.10.1 \r\n  \u2502 \u2502 \u251c\u2500\u2500 cryptiles@2.0.5 \r\n  \u2502 \u2502 \u251c\u2500\u2500 hoek@2.16.3 \r\n  \u2502 \u2502 \u2514\u2500\u2500 sntp@1.0.9 \r\n  \u2502 \u251c\u2500\u252c http-signature@1.1.1 \r\n  \u2502 \u2502 \u251c\u2500\u2500 assert-plus@0.2.0 \r\n  \u2502 \u2502 \u251c\u2500\u252c jsprim@1.3.1 \r\n  \u2502 \u2502 \u2502 \u251c\u2500\u2500 extsprintf@1.0.2 \r\n  \u2502 \u2502 \u2502 \u251c\u2500\u2500 json-schema@0.2.3 \r\n  \u2502 \u2502 \u2502 \u2514\u2500\u2500 verror@1.3.6 \r\n  \u2502 \u2502 \u2514\u2500\u252c sshpk@1.10.2 \r\n  \u2502 \u2502   \u251c\u2500\u2500 asn1@0.2.3 \r\n  \u2502 \u2502   \u251c\u2500\u2500 assert-plus@1.0.0 \r\n  \u2502 \u2502   \u251c\u2500\u2500 bcrypt-pbkdf@1.0.1 \r\n  \u2502 \u2502   \u251c\u2500\u252c dashdash@1.14.1 \r\n  \u2502 \u2502   \u2502 \u2514\u2500\u2500 assert-plus@1.0.0 \r\n  \u2502 \u2502   \u251c\u2500\u2500 ecc-jsbn@0.1.1 \r\n  \u2502 \u2502   \u251c\u2500\u252c getpass@0.1.6 \r\n  \u2502 \u2502   \u2502 \u2514\u2500\u2500 assert-plus@1.0.0 \r\n  \u2502 \u2502   \u251c\u2500\u2500 jodid25519@1.0.2 \r\n  \u2502 \u2502   \u251c\u2500\u2500 jsbn@0.1.0 \r\n  \u2502 \u2502   \u2514\u2500\u2500 tweetnacl@0.14.5 \r\n  \u2502 \u251c\u2500\u2500 is-typedarray@1.0.0 \r\n  \u2502 \u251c\u2500\u2500 isstream@0.1.2 \r\n  \u2502 \u251c\u2500\u2500 json-stringify-safe@5.0.1 \r\n  \u2502 \u251c\u2500\u252c mime-types@2.1.14 \r\n  \u2502 \u2502 \u2514\u2500\u2500 mime-db@1.26.0 \r\n  \u2502 \u251c\u2500\u2500 oauth-sign@0.8.2 \r\n  \u2502 \u251c\u2500\u2500 qs@6.3.0 \r\n  \u2502 \u251c\u2500\u2500 stringstream@0.0.5 \r\n  \u2502 \u251c\u2500\u252c tough-cookie@2.3.2 \r\n  \u2502 \u2502 \u2514\u2500\u2500 punycode@1.4.1 \r\n  \u2502 \u251c\u2500\u2500 tunnel-agent@0.4.3 \r\n  \u2502 \u2514\u2500\u2500 uuid@3.0.1 \r\n  \u2514\u2500\u2500 source-map@0.5.6<\/pre>\n<p>&nbsp;<\/li>\n<li>Then run &#8216;npm install -g less-plugin-clean-css&#8217;\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon\/yona-ecommerce$ sudo npm install -g less-plugin-clean-css\r\n\/usr\/local\/lib\r\n\u2514\u2500\u252c less-plugin-clean-css@1.5.1 \r\n  \u2514\u2500\u252c clean-css@3.4.24 \r\n    \u251c\u2500\u252c commander@2.8.1 \r\n    \u2502 \u2514\u2500\u2500 graceful-readlink@1.0.1 \r\n    \u2514\u2500\u252c source-map@0.4.4 \r\n      \u2514\u2500\u2500 amdefine@1.0.1<\/pre>\n<p>&nbsp;<\/li>\n<li>Set the file permission (it may be not good but i have to set all files in &#8216;yona-ecommerce&#8217; to 777)\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~\/Documents\/works\/phalcon$ sudo chmod -R 777 yona-ecommerce\/<\/pre>\n<p>&nbsp;<\/li>\n<li>Run it on your browser (http:\/\/localhost\/works\/phalcon\/yona-ecommerce\/public\/).<br \/>\nOK. This yona-ecommerce still in early version (version 0.0.1???) so no much can be displayed. It only showed<br \/>\n&#8216;Frontend<br \/>\nindex&#8217;<br \/>\nThe website setting in \/config\/.env file<br \/>\nI can modify the frontend text in \/app\/views\/frontend\/index\/index.volt file<br \/>\nAlso there is still no database (there is a migration file in \/storage\/migrations\/ but I dont know how to do it. <a href=\"https:\/\/docs.phalconphp.com\/en\/latest\/reference\/migrations.html\">https:\/\/docs.phalconphp.com\/en\/latest\/reference\/migrations.html<\/a>???)<br \/>\nNo much to learn from this BUT I THINK I CAN LEARN IT FROM YONA-CMS (The developer is same though)<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/github.com\/oleksandr-torosh\/yona-ecommerce Yona E-commerce E-commerce CMF based on Phalcon PHP Framework Installation: clone the github repository teddy@teddy-K43SJ:~\/Documents\/works\/phalcon$ git clone https:\/\/github.com\/oleksandr-torosh\/yona-ecommerce.git Cloning into &#8216;yona-ecommerce&#8217;&#8230; remote: Counting objects: 197, done. remote: Compressing objects: 100% (95\/95), done. remote: Total 197 (delta 58), reused 197 (delta 58), pack-reused 0 Receiving objects: 100% (197\/197), 36.59 KiB | 0 bytes\/s, done. &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2017\/02\/10\/phalcon-cmf-yona-e-commerce\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Phalcon CMF: Yona E-commerce&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59,48],"tags":[],"class_list":["post-1801","post","type-post","status-publish","format-standard","hentry","category-phalcon","category-php-2"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=1801"}],"version-history":[{"count":8,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1801\/revisions"}],"predecessor-version":[{"id":1809,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/1801\/revisions\/1809"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=1801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=1801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=1801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}