An open API service indexing awesome lists of open source software.

https://github.com/codfish/r.codfi.sh

URL Shorterner built with Ruby on Rails
https://github.com/codfish/r.codfi.sh

Last synced: over 1 year ago
JSON representation

URL Shorterner built with Ruby on Rails

Awesome Lists containing this project

README

          

# Codfi.sh

https://github.com/generalassembly/ga-ruby-on-rails-for-devs

## Getting Started

Install [Homebrew](http://brew.sh/). Then install PostgresSQL with homebrew:

```sh
$ brew update
$ brew install postgresql

# If this is your first install, create a database with:
$ initdb /usr/local/var/postgres
```

**Set up project**

```sh
$ bundle install

# Create db's and run migrations
$ bundle exec rake db:create:all
$ bundle exec rake db:migrate

# run site, view at http://localhost:3000/
$ bundle exec rails s
```

## Testing

Run tests

```sh
$ bundle exec rake db:test:prepare
$ bundle exec rspec spec
```