Skip to content

Instantly share code, notes, and snippets.

View tragal's full-sized avatar

tragal tragal

View GitHub Profile
@tragal
tragal / ssh.md
Created July 17, 2019 20:37 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh [email protected]

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@tragal
tragal / django_cheat_sheet.md
Created July 17, 2019 20:36 — 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
@tragal
tragal / pipenv_cheat_sheet.md
Created July 17, 2019 20:36 — forked from bradtraversy/pipenv_cheat_sheet.md
Pipenv cheat sheet for common commands

Pipenv Cheat Sheet

Install pipenv

pip3 install pipenv

Activate

pipenv shell
@tragal
tragal / webdev_online_resources.md
Created July 17, 2019 20:35 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@tragal
tragal / docker-help.md
Created July 17, 2019 20:34 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@tragal
tragal / django_deploy.md
Created July 17, 2019 20:34 — 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.