Skip to content

Instantly share code, notes, and snippets.

View igorkruglyak's full-sized avatar
🐍

igorkruglyak

🐍
View GitHub Profile
@igorkruglyak
igorkruglyak / CommitEmoji.md
Created July 22, 2019 19:35
Git Commit message Emoji
Commit type Emoji
Initial commit 🎉 :tada:
Version tag 🔖 :bookmark:
New feature :sparkles:
Bugfix 🐛 :bug:
Metadata 📇 :card_index:
Documentation 📚 :books:
Documenting source code 💡 :bulb:
Performance 🐎 :racehorse:
@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.

@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 / 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 / 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 / .vimrc
Created December 26, 2021 13:43
My vimrc
" plugins
let need_to_install_plugins = 0
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
let need_to_install_plugins = 1
endif
call plug#begin()
Plug 'tpope/vim-sensible'