Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.46 KB

INSTALL.rdoc

File metadata and controls

40 lines (30 loc) · 1.46 KB

Install instructions for Notizverwaltung

Components

Rails

Windows / OsX

We recomment to use Railsinstaller - railsinstaller.org - to set up Ruby On Rails on Windows or OsX

contents of Railsinstaller
* Ruby 1.9.3
* Rails 3.2
* Bundler
* Git
* Sqlite
* TinyTDS
* SQL Server Support
* DevKit

Linux

Follow the instructions on railsapps.github.io/installrubyonrails-ubuntu.html to set up Rails on a Linux distribution

Get the code from git

  1. install a git repository browser and clone the git repository from github.com (we recommend to use smartgit, as it’s one of the most userfriendly tools available)

The Database - Postgresql

  1. the wepapps backend is based on a postgresql database. (postgresql.org) (if you would like to view the db tables outside the app, install pgadmin from the same publisher. You’ll need to set up a login role in your local postgresql database (you can find further information on login roles at www.postgresqltutorial.com/postgresql-roles/).

Credentials for the login role are

* username: notizverwaltung
* password: notizverwaltung
  1. start the ruby command line tool and navigate to your local repository folder

  2. run “gem install rails”

  3. run “bundle install” to download missing plugins

  4. run “ruby update”

  5. run “rake db:setup” to generate the database

  6. run “rails server” to start the server

  7. if you open “localhost:3000” in your webbrowser you will see the webapps index page