Difference between revisions of "2016"

From mn/ifi/inf5750
Jump to: navigation, search
m (Olavpo@uio.no moved page Main Page to 2016 without leaving a redirect: Out of date)
 
(115 intermediate revisions by 68 users not shown)
Line 1: Line 1:
= INF5750 2014 =
+
= INF5750 2016 =
  
This Wiki is used for documenting the group projects for INF5750 2014. 
+
This Wiki is used for documenting the group projects and [[readings|'''readings''']] for INF5750 2016. 
  
The 2013 page is available [[2013|here]]. 
+
Overview of project [[tasks]]
  
The overview of group project tasks can be found [https://docs.google.com/presentation/d/10b7ptKaA2nH-YeCm6tRCNs7onhs20z9UZzfVMZHnXjM/pub?start=false&loop=false&delayms=60000 here]. 
+
(Last year's page is available [[2015|here]]. However, be aware that the course has changed since 2015, when it was only pass/fail)
  
 
= Milestones =
 
= Milestones =
 +
 +
During the project period, make sure your group Wiki page reflects the status of your project and be aware that the group teachers will monitor activity in your Git repo.
  
 
Each group should follow these milestones:
 
Each group should follow these milestones:
  
*Milestone 1: 1st November
+
==== Milestone 1: October 28 ====
 +
* Document features and architecture on Wiki
 +
* Show understanding of your project task
  
Document features and architecture on Wiki
+
==== Final Delivery: November 29 ====
  
Show understanding of DHIS2 web apps
+
==== Written Exam: December 6 ====
  
*Milestone 2: 15th November
+
==== Group Presentation: December 7-9 ====
  
First bare-bone version - static HTML
+
= Resources =
 +
[https://drive.google.com/open?id=0B7h7JFGWnBi7dkxzRU9Rd092d3M Tracker API] (somewhat dated, not everything may work)
  
Uploadable as DHIS2 web app
+
[http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Editing a wiki]
  
*Milestone 3: 30th November
+
https://www.dhis2.org/appstore
*Finished, if applicable also with mobile app.
+
 
*Final delivery: 8th December
+
[https://wiki.uio.no/mn/ifi/inf5750/index.php/InstallSampleData Tutorial for installing DHIS2 sample data]
*Presentation: 9th December
 
  
 
= Tips and tricks =
 
= Tips and tricks =
Line 32: Line 36:
 
Feel free to add things here as you discover them.
 
Feel free to add things here as you discover them.
  
 +
The easiest way to run DHIS2 on your own computer is to use DHIS2 Live. Download [https://www.dhis2.org/download/live/dhis2-live.zip here]. '''PLEASE USE POSTGRES 9.5, SINCE 9.6 SEEMS TO HAVE SOME JDBC ISSUES'''
 +
 +
[https://drive.google.com/open?id=0B7h7JFGWnBi7cFY2UE9iU0lVa2s Here] are slides for Windows, things work similarly on Linux or OSX, though you would then start from the command line like this: ./startup.sh
 +
 +
Each project should create a shared Git repository, e.g. on [https://bitbucket.org/ Bitbucket].
 +
 +
*You can also use [https://play.dhis2.org/ play.dhis2.org], but remember that the database is reset every night (so you lose any changes you have made)
 +
*How to [[webstorm_deploy|deploy your project files easily from Webstorm]], so you can edit files in Webstorm, but test on a remote server. (Requires local installation of DHIS2)
 
*It is not possible to upload the same app twice to DHIS2. If you want to update the app, you either have to edit the files directly on the server (log in using ssh) or delete it and reinstall it via the web. You delete the app via the web by going tp App management -> Settings and the clicking the name of the app, and pressing 'Delete'. 
 
*It is not possible to upload the same app twice to DHIS2. If you want to update the app, you either have to edit the files directly on the server (log in using ssh) or delete it and reinstall it via the web. You delete the app via the web by going tp App management -> Settings and the clicking the name of the app, and pressing 'Delete'. 
 
*When you zip your app files, make sure you zip then so that the AppManifest and other files are in the root of the zip-file. If you select the folder and zip, the files won't be zipped correctly. You need to go into your folder and then select all files and zip. 
 
*When you zip your app files, make sure you zip then so that the AppManifest and other files are in the root of the zip-file. If you select the folder and zip, the files won't be zipped correctly. You need to go into your folder and then select all files and zip. 
*[[GroupServer|This page]] has information about how to log in and use the group servers. Feel free to add more information to the page .
 
*[[App settings on dev and demo servers]] (sometimes the settings change to the wrong value, read here to know how to fix).
 
 
*[[Using the single event API on DHIS2]] (Useful for embedding-apps-in-tracker also)
 
*[[Using the single event API on DHIS2]] (Useful for embedding-apps-in-tracker also)
*This is [http://git.uio.no/git/?p=inf5750/roland/Example.git;a=blob_plain;f=example.zip;hb=HEAD Mobilars' example app], fixed with a bug that made it not who the Leaflet map properly. Based on Angular. Does a few DHIS2 WEB Api calls. Now also with an update where it finds the correct DHIS2 API url by downloading its own manifest-file (the manifest file is edited by DHIS2 on app installation)
 
 
*If you're using Single event, and are having problems with events not appearing in the analytics API, try reading [http://apps.dhis2.org/demo/api/resourceTables/analytics this]. You must have permission ALL or F_DATA_MART_ADMIN on your user to run these commands. On the demo db, only the system user has this. Not admin. To avoid running this from the Geo-location app (where you want to see recently uploaded events), you may want to keep a cache of the last uploaded events.
 
*If you're using Single event, and are having problems with events not appearing in the analytics API, try reading [http://apps.dhis2.org/demo/api/resourceTables/analytics this]. You must have permission ALL or F_DATA_MART_ADMIN on your user to run these commands. On the demo db, only the system user has this. Not admin. To avoid running this from the Geo-location app (where you want to see recently uploaded events), you may want to keep a cache of the last uploaded events.
 +
*How to [[Edit dhis2 web pages]] (Relevant for Social & App-embedding)
 
*For those who are doing changes of DHIS2 source code, you may want to read up a bit on Struts. [http://www.uio.no/studier/emner/matnat/ifi/INF5750/h12/undervisningsmateriale/mvc-and-struts2.pdf here] is a presentation from the 2012-version of INF5750. Struts has been removed from this year's course.
 
*For those who are doing changes of DHIS2 source code, you may want to read up a bit on Struts. [http://www.uio.no/studier/emner/matnat/ifi/INF5750/h12/undervisningsmateriale/mvc-and-struts2.pdf here] is a presentation from the 2012-version of INF5750. Struts has been removed from this year's course.
*[http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Editing a wiki]
 
*How to [[Edit dhis2 web pages]] (Relevant for Social & App-embedding)
 
*How to install [http://jeffmcmahan.info/blog/installing-cordova-on-linux/ Cordova] because there's a lot of hidden problems with python if not installed when you're installing nodejs. You have to remember when you run the android command(which is the same as the android sdk manager) you need to add api x(x depending on which version you're going to test on) or else you might get problems when running 'cordova platform add android'. It may also be mentioned if you have problems running the 'cordova emulate android', you could try and make your own custom avd with the command 'android avd' instead, this will make a default image so that you can skip to the 'cordova run android'.
 
  
== Installing DHIS2 sample data ==
+
= Evaluation =
 +
Each group will have 20 minutes to present their project to a panel of DHIS2 experts. The presentation must include project and group name, as well as a synopsis of the development process. Please highlight the contributions of each team member and include a demo of the final product. 
  
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/InstallSampleData Tutorial for installing DHIS2 sample data]
+
= Project groups =
  
= Things to add to the project wiki =
+
=== Things to add to your group page ===
  
 
*List of group members
 
*List of group members
Line 58: Line 66:
 
*Suggested improvements to APIs etc
 
*Suggested improvements to APIs etc
 
*Link to repository
 
*Link to repository
*Download link to sample web app or Android app
+
*Download link to sample web app
  
= Group pages =
+
=== Group pages ===
  
 
Add a link to your own group's main page here. 
 
Add a link to your own group's main page here. 
  
*Groupname (link)
+
*Groupname (link) [[2014_Groups]]
*[[Foxtrot]]
+
*[[Group AAAA]]
*[[Jura]]
+
*[[Game of Coders]]
*[[FireHorse]]
+
*[[Groupname.js|groupname.js]]
*[[Jokrijo]]
+
*[[fff|#fff]]
*[[INF5750Unity]]
+
*[[Team Fortran|Team Fortran]]
*[[VJFS]]
+
*[[LACK|LACK]]
*[[ANNK]]
+
*[[BingBong]]
*[[BHJS]]
+
*[[Therese, Joshua og Erik]]
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/JonasBrothers%2B1 JonasBrothers+1]
+
*[[ClassClowns]]
*[[Overdressed]]
+
*[[TheGroupInc]]
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/CAO CAO]
+
*[[TheSimulators]]
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/ØJSS ØJSS]
+
*[[KJH]]
*[[Bestevenn]]
+
*[[JMO]]
*[[TeamNSA]]
+
*[[Shallow Blue]]
*[[Architect Wireless Web Services|Architect_Wireless_Web_Services]]
+
*[[Social Source]]
*[[The kake is a lie]]
+
*[[The_A_Team|The A Team]]
*[[InvalidGroupNameException]]
+
*[[Crappyengineering]]
*[[Placeholder]]
+
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/Team_MaybE Team MaybE]
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/PHEM PHEM]
+
*[[Uncharted]]
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/TheAcademy [TheAcademy]]
+
*[[The league of ordinary gentlemen]]
*[[Stack workers]]
+
*[[The underachievers|The Underachievers]]
*[[Untitled Group]]
+
*[[To be or not to be | 2B || !2B]]
*[[JQwerty|JQwerty]]
+
*[[ArrayOutOfBoundsException]]
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/Meatballs Meatballs]
+
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/RECTAA RECTAA]
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/NinjaTurtles Ninja Turtles]
+
*[[Sibir & Dovre Software]]
*[[Fabulous four|Fabulous four]]
+
*[[The Clean Up Crew]]
*[[Gitignore]]
+
*[[NEP]]
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/Wapp Wapp]
+
*[[MAM]]
*[[MORDE]]
+
*[[React to Dhis]]
*[https://wiki.uio.no/mn/ifi/inf5750/index.php/GHR GHR]
+
*[[Stack Smashing Detected]]
 
 
 
 
 
 
Resources
 
 
 
[https://www.dhis2.org/doc/snapshot/en/developer/html/ch01.html https://www.dhis2.org/doc/snapshot/en/developer/html/ch01.html]
 
  
[https://www.dhis2.org/appstore https://www.dhis2.org/appstore]
+
<references />

Latest revision as of 08:45, 12 October 2017

INF5750 2016

This Wiki is used for documenting the group projects and readings for INF5750 2016. 

Overview of project tasks

(Last year's page is available here. However, be aware that the course has changed since 2015, when it was only pass/fail)

Milestones

During the project period, make sure your group Wiki page reflects the status of your project and be aware that the group teachers will monitor activity in your Git repo.

Each group should follow these milestones:

Milestone 1: October 28

  • Document features and architecture on Wiki
  • Show understanding of your project task

Final Delivery: November 29

Written Exam: December 6

Group Presentation: December 7-9

Resources

Tracker API (somewhat dated, not everything may work)

Editing a wiki

https://www.dhis2.org/appstore

Tutorial for installing DHIS2 sample data

Tips and tricks

Feel free to add things here as you discover them.

The easiest way to run DHIS2 on your own computer is to use DHIS2 Live. Download here. PLEASE USE POSTGRES 9.5, SINCE 9.6 SEEMS TO HAVE SOME JDBC ISSUES

Here are slides for Windows, things work similarly on Linux or OSX, though you would then start from the command line like this: ./startup.sh

Each project should create a shared Git repository, e.g. on Bitbucket.

  • You can also use play.dhis2.org, but remember that the database is reset every night (so you lose any changes you have made)
  • How to deploy your project files easily from Webstorm, so you can edit files in Webstorm, but test on a remote server. (Requires local installation of DHIS2)
  • It is not possible to upload the same app twice to DHIS2. If you want to update the app, you either have to edit the files directly on the server (log in using ssh) or delete it and reinstall it via the web. You delete the app via the web by going tp App management -> Settings and the clicking the name of the app, and pressing 'Delete'. 
  • When you zip your app files, make sure you zip then so that the AppManifest and other files are in the root of the zip-file. If you select the folder and zip, the files won't be zipped correctly. You need to go into your folder and then select all files and zip. 
  • Using the single event API on DHIS2 (Useful for embedding-apps-in-tracker also)
  • If you're using Single event, and are having problems with events not appearing in the analytics API, try reading this. You must have permission ALL or F_DATA_MART_ADMIN on your user to run these commands. On the demo db, only the system user has this. Not admin. To avoid running this from the Geo-location app (where you want to see recently uploaded events), you may want to keep a cache of the last uploaded events.
  • How to Edit dhis2 web pages (Relevant for Social & App-embedding)
  • For those who are doing changes of DHIS2 source code, you may want to read up a bit on Struts. here is a presentation from the 2012-version of INF5750. Struts has been removed from this year's course.

Evaluation

Each group will have 20 minutes to present their project to a panel of DHIS2 experts. The presentation must include project and group name, as well as a synopsis of the development process. Please highlight the contributions of each team member and include a demo of the final product. 

Project groups

Things to add to your group page

  • List of group members
  • Summary of requirements
  • Time schedule
  • How you are dividing tasks within the group
  • Screenshots and screen flows
  • Documented learning during project
  • Suggested improvements to APIs etc
  • Link to repository
  • Download link to sample web app

Group pages

Add a link to your own group's main page here.