How to Integrate CodyHouse Framework With Craft CMS

 

What is CodyHouse?

 

CodyFrame is a lightweight front-end framework for building accessible, bespoke interfaces.

Advantages of using CodyHouse Framework for Front End

  • You don't have to override the CSS rules .

  • CSS comes with custom Properties.

  • The Frame work is developed with the idea 'mobile first'.

  • Short learning curve.

  • Being very light weight, the web pages load much faster if you are looking for craft cms agency in uk, we have a team driven via way of means of technology, obsessed on empowering businesses, add a pinch of simple communicate with a brilliant smile, and you have got were given Contendunt in a nutshell. Here is the following Steps below here.

 Step 1: Get Started with CodyHouse installation following their official Documentation:

               https://codyhouse.co/ds/get-started

 

Step 2  : Craft CMS Installation

 

Official Documentation: https://craftcms.com/docs/3.x/installation.html#step-1-download-craft

Run following commands to Install Craft CMS:

  • composer create-project craftcms/craft

  • php craft setup/security-key

  • php craft setup

 

Step 3 : Integrating CodyHouse with Craft CMS

Replace existing file with files given client and follow below steps

Actions to be taken

1. Change the version "vlucas/phpdotenv": "^3.4.0" into "vlucas/phpdotenv": "^5.4.0" in composer.json  

 

 

2. Change the line Dotenv\Dotenv::create(CRAFT_BASE_PATH)->load(); into Dotenv\Dotenv::createUnsafeImmutable(CRAFT_BASE_PATH)->safeLoad();

 


3. Remove composer. lock from package and Import Database.

 

Step 4:  Apply Migration

 

Run the following Commands to apply migration:

 

  •  composer install – no-interaction

  • php craft migrate/all

  • php craft project-config/apply

 

Step 5 : After successful migration, run the following commands to install and run codyhouse

 

Official Documentation: https://codyhouse.co/ds/get-started

 

  • npm install

  • npm run gulp watch


That’s it, you are ready to use Codyhoue as a Front-end for CraftCMS


Comments

Popular posts from this blog

CraftCMS Pros and Cons — A Quick Guide