Mortar Projects come in two flavors: Public and Private. Public Mortar Projects can be viewed and forked by anyone. Private Mortar Projects are only accessible to users in your Mortar account. When creating a new project you will need to decide if this is code that you would like to share with the world or if this is code that you want to keep within your organization.
To allow you to get started quickly we have a sample project with runnable examples that demonstrate some basic things to do in Pig, including storing data out to Google Drive. The base Mortar project is open source and hosted in Github at https://github.com/mortardata/mortar-examples.
Mortar Projects share one global namespace, and so each project must have a unique name. If you want to keep your project private, remove the "public" flag from the command below.
mortar projects:fork email@example.com:mortardata/mortar-examples.git <your_project_name> --public
To read more about Mortar projects see How Mortar Projects Work.
This project is now in your Mortar account. If in the future you want to get updates made to Mortar's version of mortar-examples, use:
git fetch base git merge base/master
And that's it! You now have all of the code forked into your own Mortar project, ready to start the next step of running an example script.