Add simple ecto example #155

Merged
merged 1 commit into from Nov 14, 2013

Projects

None yet

2 participants

@nurugger07

Provide a simple dynamo application that uses
Ecto to retrieve records from a database

Johnny Winn Add simple ecto example
Provide a simple dynamo application that uses
Ecto to retrieve records from a database
ca9b1e6
@josevalim josevalim commented on the diff Nov 14, 2013
examples/simple_ecto/README.md
@@ -0,0 +1,25 @@
+# SimpleEcto
+To run this example, you need to ensure postgres is up and running. Inside psql, ensure there is a database named `simple_ecto_db` with the following table:
+
+```sql
@josevalim
josevalim Nov 14, 2013

I was going to suggest to use migrations... but since we don't support creating the database nor creating seeds... it is better to have it altogether for now. :)

@josevalim
josevalim Nov 14, 2013

To be clear: let's leave this as is for now.

@josevalim josevalim merged commit c7aaad0 into dynamo:master Nov 14, 2013
@josevalim

❤️ 💚 💙 💛 💜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment