Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 796 Bytes

README.rdoc

File metadata and controls

34 lines (20 loc) · 796 Bytes

Hello from Rhoto

Rhoto is a web-application programmed in Ruby on Rails with using of Bootstrap and KnockoutJS. It’s based on MySQL database.

Getting Started

  1. Download Rhoto and install all required gems from Gemfile

  2. Create config/database.yml file with the credentials required for connecting to MySQL server

for example:

development/test/production:

adapter: mysql2
encoding: utf8
reconnect: false
database: NameOfDatabase
pool: 5
username: YourLogin
password: YourPassword
host: mysql.yourHost.sk
port: 3309
  1. run “rake db:migrate”

  2. lunch server, on homepage click New Admin and create admin account

  3. remove “, :registerable” from app/models/user.rb

  4. remove registration button from homepage by removing lines in app/views/home.index.html.erb