Skip to content

Instantly share code, notes, and snippets.

@fdietz
fdietz / .babelrc
Last active June 29, 2018 17:32
Phoenix Framework Webpack Integration (replacing Brunch)
{
"presets": ["es2015", "react", "babel-preset-stage-0"]
}
@fdietz
fdietz / .dockerignore
Created April 7, 2021 18:20
Rails Docker Compose Setup for local development
.DS_Store
.bin
.git
.gitignore
.bundleignore
.bundle
.byebug_history
.rspec
tmp
log
@fdietz
fdietz / gist:8d56fa9f3597651684a65497f8da8bd4
Last active April 25, 2021 10:53
ubuntu wsl rails setup

Setup rails

https://gorails.com/setup/windows/10

sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev

sudo apt install libpq-dev

@fdietz
fdietz / Dockerfile
Created May 1, 2021 06:44 — forked from hopsoft/Dockerfile
Dockerize your Rails app
FROM ruby:3.0-alpine
RUN apk add --no-cache --update \
ack \
bash \
build-base \
curl \
git \
htop \
less \