# HOW TO setup Limepay


1. Clone the SFRA repo directly under your workspace folder. Refer to README.md under SFRA repo root folder for instructions.

2. Clone the Limepay repo from bitbucket directly under your workspace folder.

3. Navigate to the sitegenesis folder and install gulp and/or grunt. Use -g to install npm modules globally

    - Installation steps
        -   npm install
        -   npm install gulp
        -   npm install grunt
        -   npm install grunt-cli
        -   To compile and watch using grunt, use the command “grunt”
        -   To compile and watch using gulp, use the command “gulp”
        -   Compile CSS grunt css OR gulp css
        -   Compile js grunt js OR gulp js
        -   Use single command to compile both css and JS, npm run build OR grunt build OR gulp build

Refer to README.md under Sitegenesis folder for more details on HOW TO use the commands.

Folder structure <<workspace folder> - limepay


    -   link_limepay
        -   cartridges
            -   int_limepay
            -   int_limepay_sg
            -   int_limepay_sfra
            -   limepay_sg_changes
        -   documentation
        -   metadata

    -   sitegenesis
        -   cartridges
            -   app_storefront_controllers
            -   app_storefront_core
            -   app_storefront_pipelines
        -   doc
        -   Gruntfile.js
        -   gulpfile.js
        -   package.json
        -   package-lock.json



    -   storefront-reference-architecture
        -   cartridges
            -   app_storefront_base
            -   modules
        -   package.json (SFRA)
        -   webpack.config.js (SFRA)

NOTE:
The cartridge limepay_sg_changes will not be added to the cartridge path. All changes to existing SG files will be made in app_storefront_controllers and app_storefront_core. Once the cartridge has passed UAT, all SG specific changes will be copied into limepay_sg_changes. This cartridge is purely for reference purposes.

sitegenesis version used 105.1.0
SFRA latest version used from Github

