Skip to content

Instantly share code, notes, and snippets.

View Sulaymon333's full-sized avatar

Sulaymon333

View GitHub Profile

Django 2.x Cheat Sheet

Creating a virtual environment

In order to create a django project, it is recommended to create a virtual env for our app to run in: More Here. Navigate to your project folder and run the command below

python -m venv ./venv
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sulaymon333
Sulaymon333 / git-feature-workflow.md
Created February 17, 2019 11:17 — forked from blackfalcon/git-feature-workflow.md
Git basics - a general workflow

There are many Git workflows out there, I heavily suggest also reading the atlassian.com [Git Workflow][article] article as there is more detail then presented here.

The two prevailing workflows are [Gitflow][gitflow] and [feature branches][feature]. IMHO, being more of a subscriber to continuous integration, I feel that the feature branch workflow is better suited.

When using Bash in the command line, it leaves a bit to be desired when it comes to awareness of state. I would suggest following these instructions on [setting up GIT Bash autocompletion][git-auto].

Basic branching

When working with a centralized workflow the concepts are simple, master represented the official history and is always deployable. With each now scope of work, aka feature, the developer is to create a new branch. For clarity, make sure to use descriptive names like transaction-fail-message or github-oauth for your branches.

@Sulaymon333
Sulaymon333 / docker-help.md
Created November 28, 2018 22:43 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@Sulaymon333
Sulaymon333 / webdev_online_resources.md
Created July 17, 2018 17:30 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)