Skip to content

101wiki web front-end written Rails and backbone.js

Notifications You must be signed in to change notification settings

derzufall/101rails

 
 

Repository files navigation

#101companies-wiki

Dependency Status

This application was generated with the rails_apps_composer gem provided by the RailsApps Project.

##Requirements

This application requires:

  • Ruby
  • Rails
  • MongoDB
  • Node.js

##Development

  • Template Engines: ERB, HAML
  • Front-end Frameworks: jQuery, Backbone.js, Twitter Bootstrap
  • Authentication: Omniauth
  • Authorization: Cancan

##Email

The application is configured to send emails through a Gmail account.

##Getting Started

###Preparation for Ubuntu only

Before starting work with the application, you need to install dependecies:

apt-get install curl nodejs build-essenstial libxslt-dev libxml2-dev mongodb

If you are using Ubuntu, you can install ruby via rvm

rvm install 2.0.0-p247
rvm use 2.0.0-p247 --default

###Preparation for OSX only

Install ruby using rvm or rbenv

And install dependencies for project:

brew install mongodb node

###Common part of installation

At first you need to install gem bundler.

gem install bundler

Now you need go to the project folder und install app:

bundle install --path vendor/bundle

After installing mongodb you need to start it and then launch application with:

bundle exec rails server

If you want to see all models of app you need to execute next:

bundle exec railroady -M -e app/models/ability.rb | neato -Tpng > models.png

It will be generated a picture in root of the app named models.png

###Local admin rights

To be signed in you need to have github account with public email.

If you have been successfully signed in, you can set another role to your user:

bundle exec rake change_role

You will be asked for your email and new role.

Just type email from your github account and role ‘admin’ (or 'editor', 'guest')

##Contributing

If you make improvements to this application, please share with others.

  • Fork the project on GitHub.
  • Make your feature addition or bug fix.
  • Commit with Git.
  • Send a pull request.

If you add functionality to this application, create an alternative implementation, or build an application that is similar, please contact me and I’ll add a note to the README so that others can find your work.

About

101wiki web front-end written Rails and backbone.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published