Skip to content

engageis/engage.is

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Engage.is

Our new site.

Development environment

You'll need RVM to isolate your development environment.

Make sure you install Ruby 2.0.0 on your RVM.

Then just checkout the code, configure dependencies and run the tests:

  1. Clone the repository:

git clone git://github.com/engageis/engage.is.git

  1. Enter the repo directory to create the gemset:

cd engage.is

  1. Install Bundler into our RVM:

gem install bundler

  1. Install all dependencies from Gemspec:

bundler install

  1. Configure the database conection

cp config/database.sample.yml config/database.yml

  1. Create the databases

bundle exec rake db:create

  1. Create the tables

bundle exec rake db:migrate

  1. Start the server

bundle exec rails s

Running tests

  1. Go to app folder

    cd engage.is

  2. Prepare the database

    bundle exec rake db:test:prepare

  3. Run the rspec

    rspec spec/

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Copyright (c) 2013 Engage

Licensed under the MIT license (see LICENSE file)