craftninja / blog_good_vids

This is a basic Sinatra PostgreSQL CRUD app for a blog post on May 5.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Good Vids basic Postgres Sinatra CRUD app

This is the project from the blog post at Emily Platzer Makes Things.

get this project rolling

  • fork it
  • clone it
  • bundle it
  • create databases and tables
  • bask in the awesome

create databases

CD into project directory and run the following in the command line: $ psql -d postgres -U -f scripts/create_database_good_vids.sql

create tables

$ sequel -m migrations postgres://<username>:<password>@localhost/good_vids_development
$ sequel -m migrations postgres://<username>:<password>@localhost/good_vids_test

Fork it! Clone it! Run it! Change it!

About

This is a basic Sinatra PostgreSQL CRUD app for a blog post on May 5.


Languages

Language:Ruby 100.0%