Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Ngahu's full-sized avatar
Making awesomeness ⌘

Ngahu Nj Ngahu

Making awesomeness ⌘
View GitHub Profile
pip3 install virtualenvwrapper
vim ~/.bashrc
And add the following lines:
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
source ~/.local/bin/
source ~/.bashrc
Ngahu /
Created December 14, 2018 17:50 — forked from dbinit/
CherryPy Django server
import os
import socket
import urllib
import urlparse
import cherrypy
# Django settings
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myproject.settings')
# Celery loader