-
Notifications
You must be signed in to change notification settings - Fork 46
AdminSetup
Building Cauliflower Vest requires Apple's OS X 10.10 or later, python 2.7, bazel and other third-party packages.
Estimated Time: 1 minute
Cauliflower Vest is available for download via Git:
Estimated Time: 10-60 minutes
Xcode, a free download from Apple, is required to build Cauliflower Vest. Cauliflower Vest requires v4.2 or higher. v4.3 is available here:
- AppStore: http://itunes.apple.com/us/app/xcode/id497799835?mt=12
- Manual Download: http://developer.apple.com/tools/xcode/
Starting with 4.3 Apple has removed the Command Line Tools and PackageMaker from Xcode, therefore they now must be installed manually. They're available from the Apple Developer Tools site, which requires a (free) Apple developer account:
Alternatively, the Command Line Tools may be installed within Xcode via Xcode -> Preferences -> Downloads
Note: This section is subject to change in a imminent release.
Estimated Time: 1-5 minutes
pip install pycrypto pillow
Once untarring Cauliflower Vest, run:
bazel test cauliflowervest:all_smoke_tests
to build and run tests. Dependency problems will be shaken out in the beginning and should be automatically satisfied.
Estimated Time: 30 seconds
It is important that all tests pass before you continue.
See Testing for more details about the testing step.
Estimated Time: 3 minutes
- Visit http://appengine.google.com and click Create Application to create a new application, taking note of the Application Identifier, appid, you chose. * It's highly recommended that you restrict access to your Google Apps domain under Authentication Options.
Estimated Time: 5 minutes
See the Configuration wiki page for information about configuring your client and server.
Once complete:
- Edit
cauliflowervest/settings.pychangingSUBDOMAINandDOMAINto match your App Engine application. - Using the Google Developer's Console,
in the "APIs & auth" / "Credentials" section, create a new Client ID for an
installed application.
- The first time, it will be necessary to configure, at a minimum, an application name and support email into the consent screen for the App Engine app, before creating the Client ID.
- Edit
cauliflowervest/client/settings.pyto fill inOAUTH_CLIENT_SECRETwith the values generated via the developer's console. - Edit
cauliflowervest/settings.pyto fill inOAUTH_CLIENT_IDwith the values generated via the developer's console. - From the root directory, run
bazel run cauliflowervest/server:main.deploy -- --project=YOUR_APP_IDto deploy to App Engine.
Estimated Time: 1 minute
If you've completed the above, you're ready to package a client for deployment. Please see PackagingDeployableClient for more information.