Giter VIP home page Giter VIP logo

scruminder's Introduction

Scruminder

Installation

Setup a mongo db

  • Install MongoDB
  • Configure it following - scruminder/eve/settings.py
  • Currently localhost configured with following details:
  • MONGO_HOST = 'localhost'
  • MONGO_PORT = 27017
  • MONGO_USERNAME = 'hashg'
  • MONGO_PASSWORD = 'gowda'
  • MONGO_DBNAME = 'scrum'

To compile Ember App

  • cd scruminder
  • grunt server

Run Python Server

  • python tmp\public\app.py

URL

scruminder's People

Contributors

hashg avatar

Stargazers

Kyrre Wahl Kongsgård avatar Praveen avatar Patrick Deroubaix avatar

Watchers

Jakub Arnold avatar

Forkers

johan--

scruminder's Issues

hasMany/belongsTo Issue

I was able to make it work by adding the following into the project.new controller:

Sprints.reopen({
    project: Ember.belongsTo(Projects, {key: 'project_id'})
});

I placed that code in the newSprint action before anything else. It could honestly go in the activate method for a route or the init for a controller, just as long as it gets called so that correct type gets referenced in the belongsTo.

This is definitely an issue with the resolver still. I am going to update my app to the latest EAK to see if I encounter any issues. I did still notice that you aren't using the ember-resolver, you still have a reference to the resolver.js, check out their bower.json to get the reference on the EAK repo. I'm not sure if that is the complete problem but there is definitely something happening upon initialization of the models that is not allowing the full reference to the subclass of the projects model to be passed in to create the belongsTo relationship. Strange because it is literally only the belongsTo relations that are affected.

Also just curious, why are you separating out sprints from the projects in the database? Do sprints ever need to be referenced without finding a project? If you don't really have a need to separate them out then I would look into embedded records. It would save you some query hassle on the backend since all of the sprints can be pulled in with their parent project. Again just curious if you have a design constraint that causes them to be separate. I make pretty heavy use of embedded since I am using mongo.

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.