Deployment
There are multiple options available to deploy SlightWork metadata to your Salesforce instance which are outlined below. Pick the option that best suits your needs.
Option 1: Copy & Paste
Sometimes, the simplest option is the best option. This method is ideal for getting started quickly without the need to clone the full repository.
If there's a specific class or subset of code that you need, simply copy and paste the source code directly into your SFDX project or sandbox org.
Option 2: CLI Deployment
💾 Source Code
Go here to clone the source code: SlightWork Source Code
Clone the repository and make use of the sf commands from the Salesforce CLI (or use the deploy commands directly from an IDE such as VS Code).
Use the sf project deploy start command with the --source-dir argument to specify the path to a target module's directory that you want to deploy.
📝 Note
Always deploy the base module first or with the specific module you want to deploy.
sf project deploy start --source-dir base --source-dir primitives --target-org my-orgFor a detailed list of cli commands, see here: SF CLI Commands
Option 3: Unlocked Packages
⚡️ Coming Soon!
Plans are underway to provide unlocked packages for easy installation of SlightWork metadata into your Salesforce org.
The final option for deploying SlightWork metadata is to install any of the Unlocked Packages into the target org. Each module is bundled into its own package so you can easily install only what you need.
