Skip to content

Instantly share code, notes, and snippets.

View davidkiama's full-sized avatar
🟢
Focusing

David Kiama davidkiama

🟢
Focusing
View GitHub Profile
@newtonkiragu
newtonkiragu / DEPLOYING-DJANGO-APPS-TO-HEROKU.md
Last active June 6, 2024 19:31
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:

==============================================================================================================================
ARRAY METHODS
==============================================================================================================================
const family = ['Malaika', 'Jahdai'];
arr.push()
==> add to end of array > family.push('Daaimah');
==> mutates length > console.log(family);
==> return length of new array ['Malaika', 'Jahdai', 'Daaimah']