Skip to content
Ruby JavaScript CoffeeScript Shell
Find file
Latest commit 6bf914b @Gerhardk big commit
clean up

travis ci

rvmrc file
Failed to load latest commit information.
app big commit
config vcr and fake web
coverage big commit
db seed data
doc battleship init repo
lib battleship init repo
public public look and feel
script battleship init repo
spec big commit
vcr/cassettes vcr and fake web
.gitignore git ignore
.rspec testing
.rvmrc big commit
.travis.yml big commit
Gemfile readme and gemfile
Gemfile.lock big commit
Guardfile test on ships
README readme and gemfile
Rakefile gitignore and gemfile and rakefile config
fart.exe battleship init repo
migrate.bat battleship init repo
migrate_test.bat test db migration


== Welcome to Battleships Game(I run it on Ubuntu)
I use Postgresql for the database because I am comfortable with it.
I use the following gems to do my testing:
  Rspec for normal testing. Fakeweb for mocking http://url.
  Vcr to record the needed requests.
  Simplecov to see the code coverage.
  Factory_Girl for the factories.
I used the stateflow gem for a state_flow_machine on some of the models.

How to run the app:
1. bundle install (to get all the gems)
2. rake db:create
3. rake db:migrate
4. rake db:seed ( there is some ship data in the seeds)
5. rails s

Something went wrong with that request. Please try again.