Skip to content

Instantly share code, notes, and snippets.

@bydooweedoo
bydooweedoo / A_README.md
Created August 9, 2017 07:08 — forked from alanpeabody/A_README.md
Running a elixir dependency's migrations from parent app (in parent repo)

Goal

To pull in dependencies and have them run their migrations in the parent apps' repo.

Setup

MyChild - A mix application with ecto migrations, schemas, etc. MyParent - A phoenix application that wants to leverage the child application.

In this case MyParent has added MyChild as a mix dependency via github, eg:

@bydooweedoo
bydooweedoo / gist:1299738
Created October 19, 2011 21:27
Ca peut servir
Va dehors, commences a te frapper, j'arrive.
@bydooweedoo
bydooweedoo / ubuntu-pil-pip-jpeg
Created October 18, 2011 19:35
Ubuntu - Enable jpeg support with PIL
Tested with ubuntu 11.04 (python 2.7)
If you have the following error by using PIL:
decoder jpeg not available
You may try:
sudo apt-get install libjpeg8 libjpeg8-dev libjpeg62 libjpeg62-dev
or:
sudo apt-get install libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
and then: