You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taylor Franklin edited this page Nov 14, 2016
·
12 revisions
In the public repo, you will notice that Bluepic-Server/cloud_config.json, Bluepic-Server/properties.json, Bluepic-OpenWhisk/local.env, and a few other files are pretty empty. To populate those with the values we use for testing internally, follow these steps:
Now navigate to the /DevOps/scripts_assets/gradle_assets/build-deploy-assets/ directory, on your local machine, where the copy-project-properties.gradle script is.
Make sure you have Gradle installed, if not, you can install it like this with Homebrew:
brew install gradle
Now, you simply run the script with the appropriate parameters. If you get Permission denied errors after running the script, you main have to run the below command with sudo. Here is an outline:
This script simply copies the files from -PappOpenSourceFolder and puts them in -PappRootFolder, overwriting if necessary and retaining the directory structure. Afterwards, the configuration files; Bluepic-Server/cloud_config.json, Bluepic-Server/properties.json, and Bluepic-OpenWhisk/local.env should be populated with valid credentials and will be untracked by git so we don't accidentally commit them to the remote repo.