Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Website for goody-bakery
Ruby CSS Shell JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
bin
config
db
docs correct ip
lib
log
public
test
vendor/assets
.gitignore
Capfile
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Set up environment:

Clone the project to your computer

$ git clone git@github.com:garylai1990/Goody-Bakery.git

Install git flow:

Git Flow Tutorial

  • Mac OS X:
$ brew install git-flow
  • git-flow for Linux: Link

  • git-flow for Windows: Link

Set git flow:

$ git flow init

Run bundle install:

$ bundle install

Create database.yml in * Goody-Bakery/config/database.yml *

Example:

development:
  adapter: postgresql
  encoding: unicode
  database: goody-bakery_development
  username: < your name >
  password: < your password >
  pool: 5

Create database:

$ rake db:create

Migrate database:

$ rake db:migrate

HTTP Server (Use Pow)

  • Install pow and use powder to manage pow (only for Mac)

    Powder

  • Link project in Pow

$ powder link
  • Open browser and go to homepage
$ powder open

or http://goody-bakery.dev

Run Rails Server (for all OS)

$ rails s

Open Browser and go to http://localhost:3000/

Something went wrong with that request. Please try again.