-
Notifications
You must be signed in to change notification settings - Fork 6
Getting started (new developer)
Here's detailed instructions on how to set up a fresh machine to build Power Planner.
The community version should be fine. When installing, make sure to select the following two workloads...
- Universal Windows Platform
- Mobile development with .NET (Xamarin)
Then at the top, switch to Individual components, and select the .NET Portable Library targeting pack.
That's it!
This is sometimes my preferred Git client, you can use something else if you'd like. Install it here: https://desktop.github.com/
You'll need command-line git access, so install git if you haven't: https://git-scm.com/downloads
REBOOT after installation, otherwise git won't be in your command path.
Go to https://github.com/powerplanner/powerplannerapps and click Clone or Download and then click Open in Desktop. Complete cloning in the desktop app.
In the GitHub Desktop app, go to Repository -> Open in Command Prompt
Then, in the command prompt, type
git submodule update --init --recursive
Go ahead and close the command prompt.
In the GitHub Desktop app, go to Repository -> Show in Explorer
Then, right click ApplySecrets.ps1 and click Run with PowerShell.
Launch PowerPlannerApps.sln (ignore the UWP solution, even if you're developing UWP, it's just for the build server).
Make sure correct configuration and start up project is selected. You'll be able to build and deploy Android and Windows (UWP), but you won't be able to build or deploy iOS (that requires a Mac computer).
- Set the start up project to
PowerPlannerUWP (Universal Windows)
, and ensure the build config is set toDebug
and architecture is one ofx86
orx64
- Click Local Machine to deploy!
- Set the start up project to
PowerPlannerDroid
, and ensure the build config is set toDebug (Droid)
(important that it must be the(Droid)
config) and architecture isAny CPU
- Click Local Machine to deploy!
- Set the start up project to
PowerPlanneriOS
, and ensure the build config is set toDebug
and architecture isAny CPU
- Click Local Machine to deploy!