Skip to content

Instantly share code, notes, and snippets.

@Lagnarok
Lagnarok / django-setup-process.md
Last active April 7, 2019 15:56
Setting up your Django project

Downloading The Django Project

To access the Django project, please follow these steps:

  1. Install Docker. Docker is available here: https://www.docker.com/products/docker-desktop. Please note that the Windows edition requires Windows Pro or Enterprise.
  2. Visit https://github.com/bribroder/django_skeleton. If you have not installed Git on your computer, visit https://git-scm.com/downloads and choose the version for your operating system.
  3. From your system terminal (if you are using Windows, use "Git Bash" instead of cmd.exe or PowerShell), navigate to the directory you want the project to live in. Note that the project will download contained in its own directory. Then run git clone https://github.com/bribroder/django_skeleton.git This will download a copy of the project.

Starting The Django Project

To start the project, first make sure that Docker is running. Then follow these steps:

  1. Navigate to the project folder in your terminal (this time, use cmd.exe if you are on Windows). It should be
@Lagnarok
Lagnarok / SwipeIE10.js
Created April 4, 2013 19:18
This is an older copy of Swipe v2, but I've modified it to work with MSPointer events. It looks like the modifications around instances of e.pageX and e.pageY won't be necessary anymore, but the other changes should still be applicable once altered to fit your new format.
/*
* Swipe 2.0
*
* Brad Birdsall
* Copyright 2012, Licensed GPL & MIT
*
*/
window.Swipe = function(element, options) {