Skip to content

Get started developing

Paul Irwin edited this page Oct 22, 2013 · 4 revisions

Please review the Prerequisites before starting.

Source Control

Here's the process to submit changes to the project's source code:

  1. Fork COTB/k94warriors to your GitHub account. You will commit and push changes to this fork.
  2. Clone [yourusername]/k94warriors using GitHub for Windows or your favorite Git client.
  3. Find an issue to work on (or create one) at the COTB/k94warriors Issues Page
  4. Before making any changes, pull the latest changes from "upstream" (https://github.com/COTB/k94warriors.git) into your fork and then push them to "origin" (your fork). Via the command line, this would be "git pull upstream master" then "git push origin". If you have any merge conflicts, resolve them carefully or contact a repo admin.
  5. When done making your changes and after testing them, submit a Pull Request to COTB/k94warriors' master branch, referencing the issue number (i.e. "Fixed broken link, resolves #99")
  6. An admin of the COTB/k94warriors repo will review your pull request, and may make comments or request changes before merging it into the master branch.

Initial Project Setup

To get your dev environment ready to debug, you must do the following:

  1. Run Visual Studio 2012 as an administrator
  2. Create a new "K9" database in your local .\SQLEXPRESS installation
  3. Start the Windows Azure Storage Emulator
  4. From the Package Manager Console, run "Update-Database" to migrate the database changes to your local database

Notes

  • The missing .config files from the project is intentional to prevent sensitive data from being checked into source control. Please do not remove these file references from the .csproj, and do not remove their respective lines in the .gitignore file. You will not be able to publish without creating your own local versions of these files. Only project admins have the information to publish the site to Windows Azure.
Clone this wiki locally