Skip to content

Instantly share code, notes, and snippets.

View igorkruglyak's full-sized avatar
🐍

igorkruglyak

🐍
View GitHub Profile
@igorkruglyak
igorkruglyak / things-to-learn-about-python.rst
Created February 12, 2020 17:07 — forked from webknjaz/things-to-learn-about-python.rst
Getting started resources for new Pythonistas
@igorkruglyak
igorkruglyak / python_heroku.MD
Created August 16, 2019 17:35 — forked from bradtraversy/python_heroku.MD
Python & Postgres Heroku Deployment

Python Heroku Deployment

Steps to create a postgres database and deply a Python app to Heroku

Install guinicorn locally

pipenv install gunicorn
or
pip install gunicorn
@igorkruglyak
igorkruglyak / django_cheat_sheet.md
Created August 16, 2019 17:32 — forked from bradtraversy/django_cheat_sheet.md
Django command cheat sheet

Django 2.x Cheat Sheet

Creating a virtual environment

We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder

python -m venv ./venv
@igorkruglyak
igorkruglyak / django_deploy.md
Created August 16, 2019 17:31 — 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.