Project Description goes here..
- Start by cloning this template into a new folder
git clone https://github.com/jonathanrico/forcedotcom-project.git my-new-project - Cd to your new project directory and open this folder in your favorite text editor.
cd my-new-project - If you decide to fork this project, you'll have to remove the origin from the original repo
git remote rm origin - Link your project to an existing remote repository
git remote add origin https://github.com/yourusername/my-new-project.git
-
Make sure ant is installed in your local box
-
Navigate to the build folder :
cd build -
Rename the
sfdc-build.properties.examplefile tosfdc-build.properties -
Update your
sfdc-build.propertieswith your credentials and endpoint.If you're deploying against a non-https environment, make sure you un-comment
protocol=httpline in the properties fileIf you're deploying against a Sandbox or Production environment with Sites enabled, set the "guestLicense" property to empty
-
Retrieve metadata by running the retrieve target
ant retrieve -
Remove any of the metadata folders that are not being used by your project
- Navigate to the build folder :
cd build - Deploy to your org with the following command :
ant deploy -DrunAllTests=false -DcheckOnly=false
You'll have to create them in Salesforce and then run the retrieve target or create them manually in your editor.