Skip to content

espaco-guerra/web

Repository files navigation

EspacoGuerra Web Build Status Dependency Status Code Climate Test Coverage

=================

This is a rails application to host EspacoGuerra's web version. It'll provide mostly APIs for mobile versions as well as the JS version based on Three.js. The rest will be cosmetics to help users get excited with the game.

Requirements:

How to run the server:

Simply run bundle install && npm install && bundle exec foreman start. Then hit 'http://0.0.0.0:5000'.

You can change the port in which this runs by creating a .env file at the root of the project with the content "PORT=<port_number>" like this:

PORT=3000

How to run the test suite

Simply run bundle install && bundle exec rake bower:install && bundle exec rake

To develop:

Run dev.sh. It will start your server as well as Guard to run your JS and RSpec on changes and finally a Konacha server for JS testing debug.