Skip to content

Instantly share code, notes, and snippets.

View genomics-geek's full-sized avatar

Michael Gonzalez genomics-geek

View GitHub Profile
@genomics-geek
genomics-geek / Install.md
Created January 16, 2017 22:46 — forked from ravidsrk/Install.md
Deploying django application with gunicorn nginx mysql

Step One: Update Packages

sudo apt-get update
sudo apt-get upgrade

Step Two: Install and Create Virtualenv

sudo apt-get install python-virtualenv
sudo virtualenv /opt/myenv
@genomics-geek
genomics-geek / README.md
Last active January 10, 2024 15:27
Setting up a Dockerized web application with Django REST APIs, ReactJS with Redux pattern, and Webpack Hot Reloading! Mouthful.

Guide on how to create and set up a Dockerized web app using Django REST APIs and ReactJS

Hopefully this will answer "How do I setup or start a Django project using REST Framework and ReactJS?"

This is a guide to show you step by step how this can be setup. If you just want to get started, use the cookiecuter I set up cookiecutter-django-reactjs. It basically is a fork of pydanny's cookiecutter, just added the front-end stuff :).

I created this because it was SUCH a pain in the ass setting up a project using all the latest technologies. After some research, I figured it out and have it working. The repo that implements this is located here. Feel free to use it as a boilerplate ;)

Main features:

  • Django REST APIs
@genomics-geek
genomics-geek / README.md
Last active September 9, 2021 23:11
Setup ReactJS, Redux, Webpack with React Hot Reloading on an existing Django Project

Setting up ReactJS/Redux using Webpack for an existing Django project

This guide will help set up your django project to use ReactJS

1. Install Python dependencies

Add pip requirements to our django project:

  • django-webpack-loader==0.4.1 ( Connects Django project with Webpack)
@genomics-geek
genomics-geek / sge_status.md
Created September 5, 2019 18:25 — forked from cmaureir/sge_status.md
Sun Grid Engine SGE state letter symbol codes meanings
@genomics-geek
genomics-geek / Migrate_and_Deploy_Django_app_on_Heroku.md
Last active July 18, 2018 16:48
Guide on how to migrate your Django web application to be deployed on Heroku
@genomics-geek
genomics-geek / setup_MacOSX_env.md
Last active November 20, 2017 17:58
Setting up your MacOSX machine as a dev machine
@genomics-geek
genomics-geek / .bash_profile
Last active November 8, 2017 21:40
iMac/ MacBook setup dotfiles, etc
# .bash_profile
# Load specific settings
# --------------------------------------
source $HOME/.bashrc
@genomics-geek
genomics-geek / DataTable.ts
Created August 18, 2017 13:39 — forked from cschmidli/DataTable.ts
Semantic UI Data Table Component
import * as React from 'react';
import * as hash from 'object-hash';
import {
TableProps,
Table,
TableBody,
TableCell,
TableFooter,
TableHeaderCell,
@genomics-geek
genomics-geek / AvroHTTP.avdl
Created June 19, 2017 21:24 — forked from darkone23/AvroHTTP.avdl
Example generic spark setup that uses avro for schemas and the parquet file format for storage
@namespace("com.example.avro.parquet.spark")
protocol HTTP {
record Header {
string name;
string value;
}
record Request {
string method;
string path;