Salvatore Rinzivillo VISUAL ANALYTICS

Similar documents
Lab 01 How to Survive & Introduction to Git. Web Programming DataLab, CS, NTHU

Git. Presenter: Haotao (Eric) Lai Contact:

Version control. what is version control? setting up Git simple command-line usage Git basics

Working in Teams CS 520 Theory and Practice of Software Engineering Fall 2018

Lesson 7: Recipe Display Application Setup Workspace

Software Engineering

GIT FOR SYSTEM ADMINS JUSTIN ELLIOTT PENN STATE UNIVERSITY

Introduction to Git. Database Systems DataLab, CS, NTHU Spring, 2018

git commit --amend git rebase <base> git reflog git checkout -b Create and check out a new branch named <branch>. Drop the -b

Catbook Workshop: Intro to NodeJS. Monde Duinkharjav

Index. Alias syntax, 31 Author and commit attributes, 334

Intermediate Programming, Spring Misha Kazhdan

GETTING TO KNOW GIT: PART II JUSTIN ELLIOTT PENN STATE UNIVERSITY

GETTING STARTED WITH. Michael Lessard Senior Solutions Architect June 2017


GIT VERSION CONTROL TUTORIAL. William Wu 2014 October 7

USING GIT FOR AUTOMATION AND COLLABORATION JUSTIN ELLIOTT - MATT HANSEN PENN STATE UNIVERSITY

LAB MANUAL GIT BY PRATIK JAIN. To start with git bash, we need to authenticate ourselves so that for every commit, git can use this information.

Getting the files for the first time...2. Making Changes, Commiting them and Pull Requests:...5. Update your repository from the upstream master...

Human-Computer Interaction Design

Version Control: Gitting Started

Git! Fundamentals. IT Pro Roundtable! June 17, 2014!! Justin Elliott! ITS / TLT! Classroom and Lab Computing!! Michael Potter!

GUIDE TO MAKE A REAL CONTRIBUTION TO AN OPEN SOURCE PROJECT 1. 1

Lecture 2: Data in Linguistics, Git/GitHub, Jupyter Notebook. LING 1340/2340: Data Science for Linguists Na-Rae Han

Tools. SWE 432, Fall Design and Implementation of Software for the Web

What is git? Distributed Version Control System (VCS); Created by Linus Torvalds, to help with Linux development;

GIT. A free and open source distributed version control system. User Guide. January, Department of Computer Science and Engineering

Version Control with Git ME 461 Fall 2018

Introduction to Version Control with Git

Git Guide. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : October, More documents are freely available at PythonDSP

(Cloud9) and to the Remote Repository (GitHub)

A Brief Introduction to Git. Sylverie Herbert (based on slides by Hautahi Kingi)

DEVNET Introduction to Git. Ashley Roach Principal Engineer Evangelist

How to version control like a pro: a roadmap to your reproducible & collaborative research

CS314 Software Engineering Configuration Management

Version Control Systems

Chapter 1 - Development Setup of Angular

Barry Grant

License. Introduction to Version Control with Git. Local Version Control Systems. Why Use Version Control?

Lab session 1 Git & Github

Human-Computer Interaction Design

Git better. Collaborative project management using Git and GitHub. Matteo Sostero March 13, Sant Anna School of Advanced Studies

Windows. Everywhere else

L Modeling and Simulating Social Systems with MATLAB

Object Oriented Programming. Week 1 Part 2 Git and egit

Computer Science Design I Version Control with Git

Git: Distributed Version Control

Outline. Introduction to Version Control Systems Origins of Git Git terminology & concepts Basic Git commands Branches in Git Git over the network

VCS VERSION CONTROL SYSTEMS

Version Control. Software Carpentry Github s Hello World Git For Ages 4 And Up You need source code control now

Outline. Version Control System (VCS) basics Git terminology & concepts Basic Git commands Branches in Git Git over the network (time permitting)

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes

Lab Exercise Git: A distributed version control system

What is Git? What is Git? Version Control. Barry Grant

Grading Rubric Homework 1

Outline. Introduction to Version Control Systems Origins of Git Git terminology & concepts Basic Git commands Branches in Git Git over the network

CS 520: VCS and Git. Intermediate Topics Ben Kushigian

Managing Network Configurations with Git and GitLab

Tutorial 2 GitHub Tutorial

Git: Distributed Version Control

Version control system (VCS)

Git, the magical version control

IBM Image-Analysis Node.js

Introduction to Git and Github

GIT. CS 490MT/5555, Spring 2017, Yongjie Zheng

Full Stack boot camp

Version Control with GIT

Git Introduction CS 400. February 11, 2018

5th April Installation Manual. Department of Computing and Networking Software Development Degree

Submitting your Work using GIT

Version Control System - Git. zswu

Topics covered. Introduction to Git Git workflows Git key concepts Hands on session Branching models. Git 2

Revision Control. How can 4. Slides #4 CMPT 276 Dr. B. Fraser. Local Topology Simplified. Git Basics. Revision Control:

Lab 08. Command Line and Git

Table of Contents. Concepts

FEEG Applied Programming 3 - Version Control and Git II

MEAN February. techdt.la

Distributed Version Control

What is version control? (discuss) Who has used version control? Favorite VCS? Uses of version control (read)

The Intro. Aaron Bartell Director of IBM i Innovation. Copyright 2015 Aaron Bartell

Git & Github Fundamental by Rajesh Kumar.

Lab Objective. Lab Assignment. Downloads and Installation

Git tutorial. Katie Osterried C2SM. October 22, 2015

The Old World. Have you ever had to collaborate on a project by

1. Which of these Git client commands creates a copy of the repository and a working directory in the client s workspace. (Choose one.

Introduction to distributed version control with git

EECS 470 Lab 4. Version Control System. Friday, 31 st January, 2014

GIT Princípy tvorby softvéru, FMFI UK Jana Kostičová,

2/9/2013 LAB OUTLINE INTRODUCTION TO VCS WHY VERSION CONTROL SYSTEM(VCS)? II SENG 371 SOFTWARE EVOLUTION VERSION CONTROL SYSTEMS

Lecture 3: Processing Language Data, Git/GitHub. LING 1340/2340: Data Science for Linguists Na-Rae Han

Basic git. Interactive.

Git version control with Eclipse (EGit) Tutorial

Hands on Angular Framework

1. Git. Robert Snapp

G E T T I N G S TA R T E D W I T H G I T

Software Project (Lecture 4): Git & Github

S18 Modern Version Control with Git

Revision Control and GIT

CS 320 Introduction to Software Engineering Spring February 06, 2017

Chapter 5. Version Control: Git

Transcription:

Salvatore Rinzivillo VISUAL ANALYTICS

Announcment No lesson on March 5th We will meet on March 6th from 11 to 13 in Aula N1

DEVELOPMENT FRAMEWORK

Objectives Setup a developing environment Install Node.js and NPM Configure and initialize a project Install and configure git Create a repository and import project files IDEs GitKraken, Git Desktop WebStorm, Atom.io, Textmate

Node.js and NPM

What is Node.js An asynchronous event driven Javascript runtime Non-blocking, event-driven I/O operations Lightweight and efficient for data-intensive applications Distributed computation and load balancing Available for download at https://nodejs.org/ Image source: https://www.toptal.com/nodejs/why-the-hellwould-i-use-node-js

NPM Node Package Manager Node.js has a large library of public available, reusable components Components are available through a repository Manage libraries for global use and local projects Handle all dependencies

NPM - Commands npm init Initialize a project, creating a file package.json npm install <module> Download and install module within the directory node_modules With the flag --save, add the module to the package.json list of dependencies With the flag --global (or -g) the module is installed globally on the system

Most used packages Express: a web application development framework for node.js Lodash: general utilities for handling data structures in javascript http-server Specifically for the course: D3 Nvd3 Bootstrap Jquery

Exercise Create a project with Node.js Demo

Web server

Web Server for Node.js

Web Server in Node.js There are several modules available for running a web server A very simple http server: npm install -g http-server A more sophisticated application server: npm install -g express

Exercise Use http-server to access our project Demo

Version Control with GIT

What is Version Control? Image Source: https://www.git-tower.com/learn/git/ebook/en/command-line/basics/what-is-version-control

Why Use a Version Control System? Collaboration Any member of a team can work on any file at any time Merge of contribution is handle by the VCS Storing versions Tracking of changes through periodic saves of snapshots Only one version of a project at any time Other versions are packed within the VCS Restore previous versions Follow the development of the project Backup, when using external repositories

Which VCS? Introducing GIT Download a client from public repositories For example: GITHub, BitBucket Use clients specific for your OS For example: brew install git (for MacOsX) Initial configuration git config --global user.name rinziv git config --global user.email rinzivillo@isti.cnr.it git config --global

GIT Creating a Repository GIT handles two kinds of repositories Local repository Contained within a folder.git in the root of the project folder Only on person access this repo Remote repository Located into a remote server Locally stored within the.git folder Team members work concurrently on remote repository

GIT Create a local repository Move within the project root directory Use git init to start versioning tracking The root of the project is called working copy There is only one working copy at any moment It is possible to update the current working copy with previous versions from the repository Some files (usually related to the OS) can be ignored for the versioning Create a file called.gitignore in the root of the project folder List the files to ignore within the file

GIT Clone a remote repository A remote repository have a URL of the form: ssh://user@server/git-repo.git user@server:git-repo.git http://example.com/git-repo.git https://example.com/git-repo.git git://example.com/git-repo.git

GIT - Commit Commit operation save the snapshot of the working copy on the repository git add A git commit m Initial commit

GIT Status of the project Each file within the project have one of the following state Untracked: the file is not under version control. GIT do not track any change on this file Tracked: GIT reports changes on these files git status reports the list of files within the project that have changed and those that are not tracked

GIT Staging Area Image Source: https://www.git-tower.com/learn/git/ebook/en/command-line/basics/working-on-your-project#start

GIT Preparing the staging area and commit Add the files to include in the staging area git add new-page.html index.html css/* git rm error.html Check the status with: git status Commit changes git commit -m "Implement the new login box

When to commit? Each commit should contains changes related to a single topic Save only completed work (for temporary saving use Stash) Test the project before commiting Add descriptive message Commit often

Desktop GUI Version

GitKraken

Exercise Create a repository for our project Demo

Classroom Spring 2018 repository https://github.com/va602aa-master https://goo.gl/yvcwyt