Skip to content

Instantly share code, notes, and snippets.

View w-mbugua's full-sized avatar

Wacu Mbugua w-mbugua

View GitHub Profile
@w-mbugua
w-mbugua / DEPLOYING-DJANGO-APPS-TO-HEROKU.md
Created May 12, 2021 09:09 — forked from newtonkiragu/DEPLOYING-DJANGO-APPS-TO-HEROKU.md
Deploying Django Applications to heoroku

How to Deploy Django Applications on Heroku

Install heroku CLI

Sign up to Heroku.

Then install the Heroku Toolbelt. It is a command line tool to manage your Heroku apps

After installing the Heroku Toolbelt, open a terminal and login to your account:

@w-mbugua
w-mbugua / gist:85b770ee145e9f9893497cea23d73a26
Created May 12, 2021 03:05 — forked from mrtns/gist:78d15e3263b2f6a231fe
Upgrade Chrome from Command Line on Ubuntu
# Install
# via http://askubuntu.com/questions/510056/how-to-install-google-chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
# Update
export SECRET_KEY=
export MAIL_USER=
export MAIL_PASS=
python3.6 xx.py server
@w-mbugua
w-mbugua / .gitignore
Created February 11, 2021 07:02 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #