Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Ngahu Nj Ngahu

🎯
Focusing
View GitHub Profile
View Install Virtualenvwrapper in Ubuntu
pip3 install virtualenvwrapper
vim ~/.bashrc
And add the following lines:
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Devel
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
source ~/.local/bin/virtualenvwrapper.sh
source ~/.bashrc
@Ngahu
Ngahu / cherryd.py
Created Dec 14, 2018 — forked from dbinit/cherryd.py
CherryPy Django server
View cherryd.py
import os
import socket
import urllib
import urlparse
import cherrypy
# Django settings
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myproject.settings')
# Celery loader
You can’t perform that action at this time.