### Installing Dependencies with Yarn (Bash) Source: https://github.com/phoenix-protocol-group/phoenix-frontend/blob/main/packages/utils/README.md Installs all necessary project dependencies using the yarn package manager. This command should be run from the project root directory. ```bash yarn install ``` -------------------------------- ### Installing UI Package Dependencies - Shell Source: https://github.com/phoenix-protocol-group/phoenix-frontend/blob/main/packages/ui/README.md Installs all project dependencies, including the UI package, from the root directory of the Phoenix Frontend project. ```Shell yarn install ``` -------------------------------- ### Launching UI Package Storybook - Shell Source: https://github.com/phoenix-protocol-group/phoenix-frontend/blob/main/packages/ui/README.md Starts the Storybook development server for the UI package, allowing developers to design, document, and test components in isolation. Run this command from the /packages/UI directory. ```Shell yarn storybook ``` -------------------------------- ### Install Dependencies (Yarn/Bash) Source: https://github.com/phoenix-protocol-group/phoenix-frontend/blob/main/packages/contracts/readme.md Installs all required dependencies for the Contracts package using the Yarn package manager. ```bash yarn install ``` -------------------------------- ### Install Project Dependencies (Yarn) Source: https://github.com/phoenix-protocol-group/phoenix-frontend/blob/main/packages/core/README.md This command installs all necessary project dependencies defined in the package.json file within the root directory of the Phoenix Frontend project using the Yarn package manager. ```Shell yarn install ``` -------------------------------- ### Run Development Server (Yarn) Source: https://github.com/phoenix-protocol-group/phoenix-frontend/blob/main/packages/core/README.md This command starts the local development server for the Core package. After running this command, the application will be accessible locally, typically at http://localhost:3000. ```Shell yarn dev ``` -------------------------------- ### Running Tests with Yarn (Bash) Source: https://github.com/phoenix-protocol-group/phoenix-frontend/blob/main/packages/utils/README.md Executes the test suite for the Utils package using the yarn test command. This command should be run from the package's directory. ```bash yarn test ``` -------------------------------- ### Navigate to Contracts Directory (Bash) Source: https://github.com/phoenix-protocol-group/phoenix-frontend/blob/main/packages/contracts/readme.md Changes the current directory to the 'Contracts' package directory within the Phoenix Frontend project structure. ```bash cd path-to-your-project/packages/Contracts ``` -------------------------------- ### Importing Utility Functions (JavaScript) Source: https://github.com/phoenix-protocol-group/phoenix-frontend/blob/main/packages/utils/README.md Imports a specific utility function, `someUtilityFunction`, from the `@phoenix-frontend/utils` package for use in a JavaScript file. ```javascript import { someUtilityFunction } from '@phoenix-frontend/utils'; ``` -------------------------------- ### Import Contract Class (TypeScript) Source: https://github.com/phoenix-protocol-group/phoenix-frontend/blob/main/packages/contracts/readme.md Imports a specific generated contract class from the '@phoenix-frontend/contracts' package into a TypeScript file for use in the project. ```typescript import { ContractClassName } from '@phoenix-frontend/contracts'; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.