Skip to content

This Project intends to lift "finvorkurs" from @maknoll to the next Level. It shell be used on the whole University.

License

Notifications You must be signed in to change notification settings

renemeye/finvorkurs

 
 

Repository files navigation

Build Status

FIN-Vorkurs

Getting started - The simple way

  1. git clone git://github.com/renemeye/finvorkurs.git
  2. cd finvorkurs
  3. bundle
  4. Install redis Server
    • On MacOS:
       foo$ brew install redis
      
  5. start redis foo$ redis-server
  6. Initialise Database
    • Create DB: $ rake db:create
    • Migrate to current layout: $ rake db:migrate
    • Create initialial admin-user $ rake admin:create
      • Follow Instructions
  7. Start Server: rails s

Getting started - The recomended way

  1. git clone git://github.com/renemeye/finvorkurs.git
  2. cd finvorkurs
  3. bundle
  4. Install redis Server
    • On MacOS:
       foo$ brew install redis
      
  5. Install forman
  6. Initialise Database
    • Create DB: $ rake db:create
    • Migrate to current layout: $ rake db:migrate
    • Create initialial admin-user $ rake admin:create
      • Follow Instructions
  7. foreman start -f Procfile.development

Working with test driven development

  1. Have a look at this blog
  2. zeus start
  3. In new Terminal:
    • bundle exec guard

Run on Server

  • If all is Downloaded, Setup and Cofigured:

  • Start production (might be in a screen or in an init.d file)

    • foreman start -f Procfile -e .env
  • If running on a Apache add the following to public/assets/.htaccess AddType video/ogg .ogv AddType video/mp4 .mp4 AddType video/webm .webm

    AddType audio/mpeg .mp3 AddType audio/ogg .ogg AddType audio/mp4 .m4a AddType audio/wav /wav

Configuration

Config entries are compiled from:

config/settings.yml
config/settings/#{environment}.yml
config/environments/#{environment}.yml

config/settings.local.yml
config/settings/#{environment}.local.yml
config/environments/#{environment}.local.yml    

Settings defined in files that are lower in the list override settings higher. It is highly recommended to copy one of the existing *.yml files and store your settings in the equivalent *.local.yml

Documentation

more here

Development

Since Version 1.0.0, we are developing with this branchning model:

Have a look to GitHub Issues if you want more information.

About

This Project intends to lift "finvorkurs" from @maknoll to the next Level. It shell be used on the whole University.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 74.0%
  • JavaScript 17.5%
  • CSS 6.2%
  • CoffeeScript 2.3%