Skip to content

Instantly share code, notes, and snippets.

View nagapalanisamy's full-sized avatar

Naga Palanisamy nagapalanisamy

View GitHub Profile
@nagapalanisamy
nagapalanisamy / install_pipenv.md
Created September 16, 2020 16:51 — forked from planetceres/install_pipenv.md
pipenv installation notes Ubuntu 18.04

Installation Notes for pipenv on Ubuntu 18.04

1. Add ~/.local/bin to PATH

pypa/pipenv#2122 (comment)

echo 'export PATH="${HOME}/.local/bin:$PATH"' >> ~/.bashrc
@nagapalanisamy
nagapalanisamy / pipenv_cheat_sheet.md
Created September 16, 2020 16:43 — forked from bradtraversy/pipenv_cheat_sheet.md
Pipenv cheat sheet for common commands

Pipenv Cheat Sheet

Install pipenv

pip3 install pipenv

Activate

pipenv shell
@nagapalanisamy
nagapalanisamy / django_deploy.md
Last active September 25, 2020 02:10 — forked from bradtraversy/django_deploy.md
Django Deployment - Digital Ocean

Django Deployment to Ubuntu 18.04

In this guide I will go through all the steps to create a VPS, secure it and deploy a Django application. This is a summarized document from this digital ocean doc

Any commands with "$" at the beginning run on your local machine and any "#" run when logged into the server

Create A Digital Ocean Droplet

Use this link and get $10 free. Just select the $5 plan unless this a production app.

@nagapalanisamy
nagapalanisamy / ultimate-ut-cheat-sheet.md
Created July 13, 2020 16:38 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies