Skip to main content

Posts

Showing posts from December, 2019

Deploy and run react app on godaddy vps or shared hosting without root access

SOLUTION: How to Deploy and run react app on godaddy vps or shared hosting without root access Today we learn how to run react app on vps server or shared hosting. Main issue with godaddy servers is they do not provide you root access also they do not support node js by default, so its not good choice for latest technologies app like react apps. Ok but no issue we have a solution to install node without root access in vps or shared hosting of godaddy. So keep follow below steps to run react app in godaddy servers or any shared hosting server FOR VPS SERVER USERS for vps users please create your server first and create a cpanel and connect a domain with that, to connect domain go to dns management and change default name servers to your domain server like ns1.yourdomainname.com and ns2.yourdomainname.com now point your domain to the hosting by changing nameserver details in your domain configuration. -------------------------------------------- NOW THIS STEPS ARE SAM...

How to upgrade Cakephp 3 to Cakephp 4.x

How to upgrade Cakephp 3 to Cakephp 4.x So Cakephp 4 is released and now cakephp did major changes is that : 1. Now cakephp using more typehinting and strict mode. 2. cakephp replaced .ctp file extension with .php so now all tempalates files have .php extension . 3. Now templates folder moved from src to root folder. 4. Some functions are now deprecarted that you can check on its official website . Now today we learn how to upgrade Cakephp version to latest version. So keep follow below steps:- 1) Open terminal and go to the root directory folder 2) Then run below command to install upgrade tool       git clone git://github.com/cakephp/upgrade 3) Now above command will create upgrade folder in your root directory so change drive by using below command cd upgrade 4. Now we need to install new files of cake 4 so run below command: git checkout 4.x 5. Now run below command composer install --no-dev Ok so now we have all new updated file ...