Skip to main content

11 docs tagged with "development"

View all tags

Before You Start

Working at CloudSuite requires some setup and configuration for various tools and services. This document will walk you through everything you need to configure to be able to create your magic.

Check Which Version is Running

For debugging purposes, it can be useful to know what version a shop is running on. This can be checked directly on the shop itself.

Code Reviews

This document covers key concepts, guidelines, best practices, examples, tools, and troubleshooting related to reviewing pull requests. It aims to streamline code reviews and foster high-quality, maintainable code.

Folder Structure

The ` folder structure is designed to simplify front-end development by organizing assets and resources in a clear and efficient manner. At its core is the src` directory, which contains everything needed to build the theme. Let's explore its key components:

Front-end Config in Mosaic Templates

The front-end configuration provides a centralized location to define and manage various aspects of your user interface, including elements like the header, footer, product listings, and more.

Git

Creating and Switching Branches

Local Development

Development is much easier if done locally. We provide each developer with their own environment (folder) on the test server, which is easily accessible using your own personal URL; for example//jdoe-dev.test-cloudsuite.cloudsuite.com.

Monorepos

A monorepo (short for monolithic repository) is a version control strategy where the code for multiple projects, often including libraries, services, and applications, is stored in a single repository. This approach contrasts with a multi-repo setup, where each project has its own repository. Monorepos are commonly used by large organizations and projects to streamline collaboration, code sharing, and dependency management.

Page Variables

In eCommerce, page variables are essential for creating a dynamic and personalized shopping experience. These variables are defined and managed in the backend using Flask and rendered on the front-end using Jinja2.

Set up sFTP

Within CloudSuite, sFTP is used extensively to deploy changes to the Development Environment.