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
- Host: GitHub
- URL: https://github.com/codfish/r.codfi.sh
- Owner: codfish
- Archived: true
- Created: 2012-06-17T17:06:25.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2021-04-09T10:30:58.000Z (about 5 years ago)
- Last Synced: 2025-02-13T17:33:37.727Z (over 1 year ago)
- Language: Ruby
- Homepage: http://r.codfi.sh
- Size: 303 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
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
```