Skip to content

Instantly share code, notes, and snippets.

View GBrachetta's full-sized avatar
:electron:
Learning

Guillermo Brachetta GBrachetta

:electron:
Learning
View GitHub Profile
# NPM #
##########
# Ignore all directories called node_modules in current folder and any subfolders.
node_modules/
/node_modules/
# Packages #
############
*.7z
*.dmg
{
"bracketSpacing": true,
"trailingComma": "all",
"arrowParens": "avoid",
"singleQuote": true,
"printWidth": 80,
"useTabs": false,
"tabWidth": 2,
"semi": true
}
@GBrachetta
GBrachetta / .hyper.js
Created March 15, 2022 09:38
Hyper config file
'use strict';
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
@GBrachetta
GBrachetta / frames.sh
Last active May 21, 2021 07:49
Script to scaffold React, Next.js, Vite/React and Django boilerplates
#!/bin/bash
# Author: Guillermo Brachetta
# Date Create: 27/04/2021
# Date Modified: 21/05/2021
# Description
# Scaffolds React, Next.js, Vite/React, Vite/Vue and Django boilerplates.
# Usage
@GBrachetta
GBrachetta / deployment.md
Created November 16, 2020 13:14 — forked from UPstartDeveloper/deployment.md
How to Successfully Deploy a Django Project, on the FIRST PUSH!!

How to Successfully Deploy a Django Project, on the FIRST PUSH

Introduction

Being able to deploy a project is one of the signs of a truly great developer in-the-making. If you master this skill, it will help you breathe easier and perform better in all environments in which you build software products - e.g. hackathons, your hobby projects, the Intensives at Make School, and perhaps even your full-time developer job!

This is the process that has worked for me so far, in pushing all my individual as well as team projects made in Django into production. I used Heroku for all the deployments.

My recommendation is to follow this step right at the beginning of your project! Deployment is one of those steps that everyone struggles with, so get it out of the way early on in development so it makes all future deployments much easier!

@GBrachetta
GBrachetta / django-tutorials.md
Created November 16, 2020 13:10 — forked from bhrutledge/django-tutorials.md
My thoughts on Django tutorials

Django Tutorials

I've scanned through these, and they all seem to cover the basic features of Django (models, function-based views, forms, templates, CSS, and the admin interface), and use Python 3 and Django 2. My notes indicate what I think differentiates them.

Django Girls tutorial

  • Written for Django Girls workshops or self-teaching
  • Widely recommended for beginners, even to Python, web development, and command line
  • Build a blog
  • Instructions for Windows, Mac, and Linux (including Python installation)
@GBrachetta
GBrachetta / django_resources.md
Created November 16, 2020 13:08 — forked from danielmorell/django_resources.md
Notable Django Resources
@GBrachetta
GBrachetta / django_deploy.md
Created November 13, 2020 13:57 — 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.