Meteor Setup

While buddybuild natively supports Cordova, additional steps are required to integrate Meteor into your build.

To start with, ensure you have checked in the .meteor folder in your project, excluding the local folder as buddybuild doesn’t need it. Without it, buddybuild won’t be able to build your project.

New Project

First, we need to tell buddybuild how to build your meteor project. We can do this by having a file in the root of your repository. You can find more information about our custom build steps here.
curl | sh
meteor add-platform $PLATFORM
meteor build $PLATFORM --server $SERVER

Once you have that file in your repository, follow the steps to sign up with buddybuild. Your first build will fail, because buddybuild doesn’t yet know about the $PLATFORM and $SERVER environment variables we are using in the script.

The build failure screen

The $PLATFORM variable should be either ios or android, depending on which platform you want to build this project for. The $SERVER variable should represent your development server in the format server:port. Once you’ve added those 2 variables, retry the build.

Buddybuild detects many apps and frameworks within your project; make sure to select the correct one.

The app selection screen

For iOS projects, you should select the workspace project, the one not within a .meteor folder. For Android, you can select the Android project.

results matching ""

    No results matching ""