ACA Python Task Force
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Python Task Force


Pre-install these applications


# -*- mode: ruby -*-
# vi: set ft=ruby :


Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| = "" "private_network", ip: ""
  config.vm.synced_folder "repos", "/home/vagrant/repos"

VMs /etc/hosts entry aca.local

MySQL Credentials (Local to VM)

  • host: localhost
  • username: root
  • password: something
  • database: acadb
$ mysql -u root -p -h localhost
Enter Password: something

Vagrant Commands

Boot up VM

$ vagrant up

SSH into VM

$ vagrant ssh

Stop the VM

$ vagrant halt

Git commands

View the status of your staging area

$ git status

Add one file to staging area

$ git add

Add multiple files to staging area

$ git add .

Commit all staged files

$ git commit

Commit all modified unstaged files

$ git commit -a

View all remote branches

$ git branch -r

Get all remote branches

$ git pull

Checkout an existing remote branch

$ git checkout githubBranch

Create a new local branch

$ git checkout -b myNewLocalbranch

Push a newly created local branch to remote

$ git push -u origin myNewLocalBranch

Push to remote when local branch and remote branch exist and have the same name

$ git push

Incorporate all changes that are in the remote tracking branch into your local branch

$ git pull

View history of all commits

$ git log

Reset your working directory to a pristine state (Note this will wipe out any changes you made)

$ git reset HEAD --hard