Git Product home page Git Product logo

df17-ant-to-sfdx's Introduction

dreamhouse-metadata-cli

This repository includes a set of sample scripts and metadata that can be used to perform metadata deploy and retrieve operations with the Salesforce CLI. The scripts are intended to replicate metadata deploy and retrieve Ant targets that have been delivered with the Ant Migration Tool in the the sample build.xml, thereby allowing you to easily move from the Ant Migration Tool to the Salesforce CLI for your Metadata deploy and retrieve tasks.

The sample Metadata is provided in both compressed (zip) format as well as uncompressed. The Metadata is based on the sample sfdx-dreamhouse project. This sample Metadata is referenced in the scripts for deploy and retrieve. Modify the scripts to point to your own Metadata as desired.

The scripts take an argument for the "targetusername", which can be either the username or alias associated with a connected org.

Sample usage:

$ ./scripts/deployUnpackaged.sh [email protected]

or

$ ./scripts/deployUnpackaged.sh Prod

where Prod is an alias that has been set for a connected org.

To set up the CLI prior to running scripts:

  1. Install the CLI: https://developer.salesforce.com/tools/sfdxcli

  2. Connect/Authorize your Org(s):
    $ sfdx force:auth:web:login

    or

    $ sfdx force:auth:jwt:grant

df17-ant-to-sfdx's People

Contributors

jwunder-salesforce avatar kfidelak94 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.