Giter Site home page Giter Site logo

samfundetdomain's Introduction

SamfundetDomain

This project rocks and uses MIT-LICENSE.

Installation

Add the following line to your Gemfile and run bundle install again.

# SamfundetDomain is a gem which provides the application with samfundets domain models.
gem 'samfundet_domain', :git => "git://github.com/Samfundet/SamfundetDomain.git"

Copy the migrations to your project with the following command.

rake samfundet_domain_engine:install:migrations

Run rake db:migrate to execute the newly created migrations.

You may add the following line to your db/seeds.rb to seed group types, groups and areas.

Rake::Task['samfundet_domain_engine:db:seed'].invoke

Updating

Run the following commands to update the gem.

bundle update --source samfundet_domain
rake samfundet_domain_engine:install:migrations

Run rake db:migrate again to execute any newly created migrations.

Usage

If installed correctly, you will have access to three new models: Group, GroupType and Area. They can all be utilized exactly like any other models. They may be decorated using standards ways of decorating models provided by engines.

samfundetdomain's People

Contributors

badeball avatar eirikvaa avatar tollefj avatar evgiz avatar alfiehub avatar filip0 avatar andereld avatar kevinkristiansen avatar dependabot[bot] avatar

Watchers

Torstein avatar Erik Smistad avatar Håkon Sandsmark avatar Torstein Nicolaysen avatar Lorents Odin Gravås avatar  avatar James Cloos avatar  avatar Rune Holmgren avatar  avatar  avatar Glenn Aarøen avatar Katrine avatar  avatar Erlend Eriksen avatar  avatar Stian Steinbakken avatar Robin avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.