Configuring Builds on Epycbyte: A Guide to Settings and Options
Epycbyte offers flexible build configurations to suit various project needs. Below is a breakdown of key settings that can help optimize your workflow.
Overview
Epycbyte provides comprehensive control over build processes, allowing you to customize aspects like frameworks, commands, and directories. This guide covers essential settings to ensure smooth deployments.
Framework Preset
- Selection: Choose from popular frameworks like Next.js or React.
- Customization: If your project doesn't fit a specific framework, select "Other" for generic configurations.
Build Command
- Optional Field: Leave empty if no build is needed.
- Usage: For static sites with HTML/CSS/JS, skip building by leaving the command empty.
Output Directory
- Purpose: Specify the root directory of your app.
- Note: Ensure files are accessible within this directory; use relative paths like
srcinstead of...
Install Command
- For APIs: Customizable for Serverless Functions, especially useful for language-specific setups.
- Language Support: Automatically adjusts based on the serverless function's language.
Corepack
- Experimental Feature: Enable by setting
ENABLE_EXPERIMENTAL_COREPACKin your Project settings. - Package Managers: Choose a specific version like pnpm 7.5.1 for enhanced control.
Development Command
- Customization: Use
epycbyte devfor local development with Serverless Functions. - Framework Support: Defaults to Next.js; customize if needed, ensuring the command includes
$PORT.
Skip Build Step
- Use Case: For static sites without source changes.
- Configuration: Select "Other" as the framework and leave the Build Command empty.
Root Directory
- Adjustment: Specify if your project's root differs from the repository structure.
- CLI Usage: Use
epycbyte <directory>instead of navigating through directories.
Skipping Unaffected Projects
- Monorepo Support: Skip deployments for unchanged projects by enabling the switch in Project Settings.
Last Updated
This guide was last updated on August 15, 2024.