Setting up your dev environment

Slides:



Advertisements
Similar presentations
Ravi Mathur Updated December 5,  ODTBX uses Git (see the ODTBX Git Tutorial) ODTBXODTBX Git Tutorial ◦ SourceForge account needed (free). SourceForge.
Advertisements

Discovering SQL all rights reserved (c) 2010 agilitator.com INSTALLING MS SQL Server 2008 R2 Express Edition.
Copyright ®xSpring Pte Ltd, All rights reserved Versions AuthorDateDescription 1.0NBL2012/05First version. Modified from Enterprise edition.
Copyright ®xSpring Pte Ltd, All rights reserved Versions AuthorDateDescription 1.0NBL2012/05First version. Modified from Enterprise edition.
Version Control Systems Phil Pratt-Szeliga Fall 2010.
Update on Version Control Systems: GitLab, SVN, Git, Trac, CERNforge
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
Patterns & practices Symposium 2013 Introducing Git version control into your team Mark
16.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 16: Examining Software Update.
#RefreshCache CI - Daily Builds w/Jenkins – an Open Source Continuous Integration Server Nick Airdo Community Developer Advocate Central Christian Church.
Tutorial on Visual Studio express Introduction Visual Studio Express Editions are a new line of Microsoft development Tools. This line of products.
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
Introduction to Git and Github Joshua imtraum.com.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
This presentation will guide you though the initial stages of installation, through to producing your first report Click your mouse to advance the presentation.
SQL SETUP FILE SELECTION
DB2 (Express C Edition) Installation and Using a Database
Deploying Chromebooks RICK NICHOLAS A.
IT 211 Project Integration and Deployment Lab #11.
GIT An introduction to GIT Source Control. What is GIT (1 of 2) ▪ “Git is a free and open source distributed version control system designed to handle.
Installing and Using Active Directory Written by Marc Zacharko.
Source Code Control CSE 3902 Matt Boggus. Source code control options for CSE 3902 Must use source code control that is integrated with Visual Studio.
Version control Using Git Version control, using Git1.
Version Control. How do you share code? Discussion.
Git workflow and basic commands By: Anuj Sharma. Why git? Git is a distributed revision control system with an emphasis on speed, data integrity, and.
Information Systems and Network Engineering Laboratory II DR. KEN COSH WEEK 1.
Git Fundamentals Rochelle Terman 13 January 2014.
A Simple Introduction to Git: a distributed version-control system CS 5010 Program Design Paradigms “Bootcamp” Lesson 0.5 © Mitchell Wand, This.
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
Slide 1 Chapter 0 SQL Server 2005 Installation. Slide 2 Content 1.Prerequisite Installation 2.SQL server 2005 Express Installation 3.SQL Client Tools.
Hosted Git github. From an alumnus (2010)  You know, the more time I spent in industry the better I've understood what a strong advocate you are for.
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
Information Systems and Network Engineering Laboratory I DR. KEN COSH WEEK 1.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
Version Control Systems
DBMS Programs MS SQL Server & MySQL
How to Start SQL Server and SSDT BI in Local
CS5220 Advanced Topics in Web Programming Version Control with Git
Welcome POS Synchronize Concept 08 Sept 2015.
Reports and Translations
Information Systems and Network Engineering Laboratory II
Git & Github Timothy McRoy.
Version Control.
Integration Methodology and Procedures
Version Control overview
Version control, using Git
A Simple Introduction to Git: a distributed version-control system
Macaualy2 Workshop Berkeley 2017
Version Control Systems
SQL Server 2005 Installation
Akshay Narayan git up to speed with RCS Akshay Narayan
Source Code Management
BIT 286: (Web) Application Programming
Getting Started with Git and Bitbucket
Microsoft Visual Source Safe How & Why
Module P3 Practical: Building a webapp in nodejs and
Web Stuff Making It Work
Git started with git: 2018 edition
GitHub and Git.
GitHub 101 Using Github and Git for Source Control
Git GitHub.
Introduction to The Git Version Control System
Ch 1 .Installing and configuring SQL Server 2005
Introduction To GitHub
Security - Forms Authentication
How to install and manage exchange server 2010 OP Saklani.
Git in Visual Studio.
Presentation transcript:

Setting up your dev environment Rock ChMS Dev Workshop 101 Setting up your dev environment Nick Airdo Señior Developer Central Christian Church AZ (Cccev) Email: Nick.Airdo@CentralAZ.com Twitter: @airdo

Setting up your dev environment… From scratch

http://bit.ly/WebPI4 Use Web PI 4.0 Add “Visual Studio Express 2012 for Web” Not “F# Tools for Visual Studio Express 2012 for Web” It comes with SQL Express LocalDB Edition Then, Install You’ll get it all…but it will take a LONG time. When it installs SQL Server Express leave the default “Mixed Mode Authentication” and select a good SA password (don’t forget it).

Side Note: SQL Express 2012 LocalDB Small installer. The 32-bit version has 28.2 MB and the 64-bit version has 33.7 . Simplified Installation. It does do not require configuration or administration. Run as a low privileged user. Offers the same T-SQL language as SQL Server Express. It supports stored procedures, geometry and geography data types, triggers, views. LocalDB uses the same sqlservr.exe as other editions of SQL Server and the same client-side providers. LocalDB doesn't create any database services; LocalDB processes are started and stopped automatically when needed. LocalDB connections support AttachDbFileName property, which allows developers to specify a database file location (if desired) One LocalDB installation for all users on a computer. Familiar to developers using SQL Server Compact. It works with ASP.NET It supports XML (XQuery, XPath) and BLOB. It supports ADO .NET Sync Framework It supports LINQ. It supports distributed transactions. Unlimited local connections. From http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx and http://sqlcoffee.com/SQLServer2012_0004.htm

…waiting…

GitHub You’ll use it in a little bit… Create a free GitHub account* if you don’t have one yet You’ll use it in a little bit… * Don’t forget your password.

Go Fork Rock-ChMS Seriously, it’s not as bad as it might sound Go to https://github.com/SparkDevNetwork/Rock-ChMS Click Fork

One click install! Finish Then Exit.

Source control is your friend. Installing Git Tools

Download msysgit http://bit.ly/DownloadMsysGit Will be used by SmartGit

Install msysgit Run the installer Use the defaults

Download SmartGit An easy-to-use, free* GUI for Git * For non-commercial use license

Setup SmartGit License Agreement Type of Usage Next Choose “Non-commercial use only”

Git Executable If you installed msysgit, it should pre-fill this line Next

User Information Recommend using your GitHub account information… …but your real GitHub account goes on the next screen…

Hosting Provider …right over there.

Master Password Read Do

SmartGit Installed Finish

Cloning is not Illegal You’re making a duplicate copy of your Forked Rock repository (origin) to your local system Ok

Your Rock-ChMS Git

Local Directory C:\Rock-ChMS or whatever you prefer Next, then Finish Then wait while the data is pulled from the origin repo…

SmartGit Config Recommend you unselect this one If selected, unchanged files will be shown

Change Branch Following the gitflow* model, we’re developing in the “develop” branch Branch->Branch Manager Select origin/develop Switch To… * http://nvie.com/posts/a-successful-git-branching-model/

Almost There… Open your C:\Rock-ChMS\Rock.sln Go fetch a VS Product key 

Don’t Worry* If you see this… just press OK * You won’t be monkeying with the Rock Scheduler Service anyhow.

Develop on a Rock foundation Rock Development 101

Turn on your Package Manager Console Open the Package Manager Console

Make sure your Default project is “Rock” Make sure the Default project is set to “Rock”

Add a web.connectionStrings.config to your RockWeb project Add New Item under your RockWeb project

web.connectionStrings.config

The Password Is… For SQL Express LocalDB put this into the web.connectionStrings.config If using other SQL, then use:

Update-Database In the PMC, run “Update-Database”

F5

If…

…Then Uncheck this if you get authentication popup when you F5 Right-click RockWeb ->Property Pages

Success!

More? Go to the Wiki Warning: We’re currently moving from gh-pages (Word/PDFs) to a GitHub-backed-Wiki Warning: Rock has undergone frequent refactoring Developer Starting Point http://sparkdevnetwork.github.com/Rock-ChMS Rock Wiki https://github.com/SparkDevNetwork/Rock-ChMS/wiki

Git Basics A few things to get you going: Pull Merge Push You’ll learn more about Git during an RC session this week Pull Requests (in GitHub) – a way to submit your valuable, cool code to the core team

References SQL Server 2012 Express LocalDB http://msdn.microsoft.com/en-us/library/hh510202.aspx Git Book http://git-scm.com/book Rock-ChMS Developer Starting Point http://sparkdevnetwork.github.com/Rock-ChMS/