Skip to content

Instantly share code, notes, and snippets.

🤣
Hey there! I am using GitHub.

Sivasubramaniam Arunachalam sivaa

🤣
Hey there! I am using GitHub.
Block or report user

Report or block sivaa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Installation Instructions (Data Science Workshop - Intro to Pandas).md

Installation Instructions:

  • Please install Anaconda 3.5.
  • We will be using Jupyter notebook as our IDE.
  • To check if installed correctly, open the command shell and type: $ jupyter notebook
  • It should fire up a browser. In the browser, select New -> Python (root) from the right-hand top menu. It will open another tab. In the cell, on that new tab, enter the following command : import pandas as pd
  • Click shift+enter to run it. If it runs fine, you are good to go for the workshop.
  • Please post installation issues on this meetup page.
  • Please note that there will be NO installation help provided on the day of the workshop.
  • The datasets for the workshop will be provided on the day of the workshop
@sivaa
sivaa / gist:2d4722eded36714d4b8a
Last active Nov 25, 2016
Django Workshop - Work space Setup on CentOS
View gist:2d4722eded36714d4b8a

High level overview using Centos

  • Install dev tools and compilers
  • Install Python 2.7.12
  • Install Python package manager - pip.
  • Install Python environment manager - virtualenv
  • Download source code

Installation

@sivaa
sivaa / gist:df6442799248bdbb0bb5
Last active May 12, 2017
Thin Django - Guide
View gist:df6442799248bdbb0bb5
############ Part 0 - Prerequistes #############
# Step 1 : Setup your virtual environment
# Step 2 : Install the required dependencies
$ pip install django
$ pip install gunicorn
$ pip install PIL (For Windows : easy_install PIL)
# Step 3 : Create thin/thin.py
View gist:4f68a2db467a1bcf670b

Introduction

Create a sudo user

adduser appuser
passwd appuser
# Provide the password here
View gist:0087d76ccd14fe9117a4
#### Step 0: Movie app Creation & Registration ####
# Create a demo app
python manage.py startapp movie
# Create a 'templates' directory under fav/movie/ folder
mkdir movie/templates
# Registred this app in the INSTALLED_APPS tuple in fav/fav/settings.py
View gist:4e281341c40017360301
#### Step 0: Installtion/Setup ####
Microsoft Windows 7 : http://bit.ly/pycon-gswd-windows-setup
GNU/Linux Ubuntu : http://bit.ly/pycon-gswd-linux-setup
# Once the above setup is done, pull the latest content from the repository
git pull
#### Step 1: Django Project Creation ####
View gist:bf2fdcba25803da6f04b
#### Step 0: Installtion/Setup ####
Microsoft Windows 7 : http://bit.ly/pycon-gswd-windows-setup
GNU/Linux Ubuntu : http://bit.ly/pycon-gswd-linux-setup
GNU/Linux CentOS : http://bit.ly/pycon-gswd-centos-setup
# Once the above setup is done, pull the latest content from the repository
git pull
#### Step 1: Django Project Creation ####
View gist:7a531022706ac746d944

Python

  • All the linux distributions will have Python installed by default. The version can be verified using the python command.

Install Setup tools

  • Install pip and related packages

      sudo apt-get install python-pip 
    
  • Install virtualenvwrapper

View gist:cf29434e5b09a0854f26

Install Python

  • Download and install Python from here

    • Better to install at the default location(C:\Python27). If you are providing custom locations, avoid using spaces
  • Add the below directories to PATH environment variable. For more details, refer here

    • Python Base directory (Example: C:\Python27)
    • Python Scripts directory (Example: C:\Python27\Scripts)
  • It should look similar to this

      [Existing Paths];C:\Python27;C:\Python27\Scripts;
    
You can’t perform that action at this time.