Giter VIP home page Giter VIP logo

frontend's Introduction

Ember front end for HospitalRun

MAC set up:

To run the app (on a mac), you will need the following:

  1. Install Nodejs nodejs.org
  2. Install ember-cli v0.1.4: sudo npm install -g [email protected]
  3. Install bower: sudo npm install -g bower
  4. Clone the frontend directory after downloading Github for Mac!
  5. Go to the frontend directory, and run the following:
    • sudo npm install to install needed node modules.
    • bower install to install needed bower modules.
  6. Install/configure couchdb
  7. Download and install couchdb from http://couchdb.apache.org/#download
  8. Run initcouch.sh to setup couchdb with an admin user with the credentials hradmin/test.
    • Go to Futon (http://0.0.0.0:5984/_utils/)
  9. Go into the frontend folder, then into server, then click on config-example.js, check to make sure that the 'couch_admin_user' and 'couch_admin_password' match your admin credentials, and rename the file to 'config.js'.
  10. Start the server so you can view the repo in your browser by running ember serve from the frontend directory.
  11. Go to http://0.0.0.0:4200/ in a browser and login with your couchdb admin user.

WINDOWS set up:

To run the app (on windows), you will need the following:

  1. Install Nodejs nodejs.org v0.10.36
  2. Install git (will automatically download git when link is clicked)
  3. Install Windows GitHub
  4. Install ember-cli v0.1.4: npm install -g ember-cli
  5. Install bower: npm install -g bower
  6. Clone the frontend from the GitHub Client
  7. Go to the frontend directory in the command line, and run the following:
  • npm install to install needed node modules.
  • bower install to install needed bower modules.
  • (Make sure your directory for the npm folder is in either the system variables or user variables path. most likely: C:\Users\[username]\AppData\Roaming\npm)
  1. Install/configure couchdb
    1. Download and install couchdb from http://couchdb.apache.org/#download (Make sure use the Windows version or will NOT work)
    2. Run sh initcouch.sh in the cmd line frontend directory to setup couchdb with an admin user with the credentials hradmin/test.
  2. Go into the frontend folder, then into server, then click on config-example.js, check to make sure that the couch_admin_user and couch_admin_password match your admin credentials, and rename the file to config.js.
  3. Start the server so you can view the repo in your browser by running ember server from the frontend directory.
  4. Go to http://0.0.0.0:4200/ or localhost:4200/ in a browser and login with your couchdb admin user (credntials hradmin/test).

Linux set up: (Specifically Ubuntu)

CL means type the line into Terminal

  1. CL: sudo apt-get install nodejs
  2. CL: sudo apt-get install npm
  3. CL: sudo apt-get install git
  4. CL: sudo apt-get install gitg (Gui client for github)
  5. CL: sudo npm install -g [email protected]
  6. CL: sudo npm install -g bower
  7. CL: git clone git://github.com/CIS-412-Spring-2015/frontend.git
  • Move to front end folder in Terminal
  1. CL: sudo npm install
  • Might get some errors (Ignore these let it finish)
  1. CL: sudo apt-get install nodejs-legacy
  2. CL: bower install (Don't use sudo)
  3. CL: sudo apt-get install curl
  4. CL: sudo apt-get install couchdb
  5. CL: sh initcouch.sh
  • Rename config-example.js to config.js in frontend/server
  1. CL: git pull
  2. CL: ember serve
  • App should be running on 127.0.0.1:4200
  • Might be 0.0.0.0:4200 or localhost:4200

frontend's People

Stargazers

Peter Jones avatar Bekah avatar

Watchers

James Cloos avatar Bekah avatar Celtson Toote avatar Katlyn Painter avatar Peter Jones avatar  avatar Zachary Markle avatar Justin avatar BMaze avatar

Forkers

celtson zmarkle

frontend's Issues

Learn Tech Stack - Celtson Toote

As a developer I need to be able to have tech stack running on my windows machine and create documentation for it, so that I will be able to run Hospital Run on my machine and have a "how to" for my team members to see.

  • Get Technology Stack working -> 12hr
  • Download Ember Inspector from the Chrome Web Store -> 20min
  • Show that on your computer HospitalRun works -> 20min
  • Add your name to the Reports Archive (index) Template file in a paragraph tag to show that you have looked through the code, and have the tech stack working. -> 10min
  • Create documentation for a Windows machine -> 50min
  • Push changes up to server. (please make sure that your code it not broken!) -> 20min

Tab - Faith Declarations

Chriatianity Explored Class:

  • Sessions
  • Participants
  • Graduates
  • Participants seeking Continued Ed.
  • Create View
  • Support partial data collection
  • Edit Data
  • Save Data
  • Validate data

Faith Declarations:

  • Name ( First/Last )
  • Date
  • Gender
  • Age
  • Address
  • Religious Affiliation (None, Catholic, Muslim, Protestant, Recommitment, Other)
  • Present Activity (Bedside Presentations, Playroom Presentations, Jesus Film, Open Air Meetings, Mobile Clinic Outreach, Door to Door Evangelical, Other)
  • Create View
  • Support partial data collection
  • View All Names
  • Support Sorting by each field
  • Support Search by each field
  • Edit All Names/data
  • Save Data
  • Validation

Staff Ministry View Creation - Initial

  • Look into how the module has been created thus far
  • Look through the existing code to learn the conventions
  • Create a view that shows up when someone clicks the 'Hospital' Tab Under the 'New Report'/'In Progress Report' section of the module.

Referencing Issue: #5

Initial Admin Tasks

As one of the Cure Interns who has spend a lot of time with the products we will be using this semester, I need to make sure that the rest of the Cure team is up to speed with what is going on, so that Peter and I are no longer the only ones who know what is going on.

Tab - Demographics

  • Create View
  • Four tabs
  • Staff
    • View all Staff
    • Add
      • Names
      • Church Affiliation (Auto from last month)
      • Paid Vs. Volunteer
    • Edit
  • Partner Organizations
    • Option to change or not (Auto from last month)
  • Churches
    • Option to change or not (Auto from last month)
  • People Groups
    • Option to change or not (Auto from last month)
  • Save data on each tab

Community Events View Creation - Initial

  • Look into how the module has been created thus far
  • Look through the existing code to learn the conventions
  • Create a view that shows up when someone clicks the 'Community' Tab Under the 'New Report'/'In Progress Report' section of the module.

Referencing Issue(s): #11

New Believers View Creation - Initial

As a developer/ designer I need to research the pre-existing code of Hospital Run and understand it, so that I will be able to show a view when the Faith Declarations tab is clicked.

  • Look into how the module has been created thus far - 1hr
  • Look through the existing code to learn the conventions - 1hr
  • Create a view that shows up when someone clicks the 'Faith Declarations' Tab Under the 'New Report'/'In Progress Report' section of the module. - 1hr

Referencing Issue: #20

Research Hospital Run Functionality - Celtson

As a developer I want to be able to research the current code of Hospital Run and generate a research doc, so that I can better understand the system for future use.

  • Research the current functionality of HospitalRun - 30min
  • Write up a research document stating findings - 1.5 hrs
  • Put document in Cure/Research Folder in Google Drive
  • Research Document

Research HospitalRun Functionality - Katie Painter

As a developer, I need to research the functionality of Hospital Run so that I can better understand Hospital Run and use Hospital Run as a reference for developing the ministry module.

  • Research the current functionality of Hospital Run 45mins
  • Write up a research document stating findings 2hrs 30mins
  • Put document in Cure/Research Folder in Google Drive 3mins

Learn Tech Stack - Brandon Maze

  • Get Technology Stack working
  • Download Ember Inspector from the Chrome Web Store
  • Show that on your computer HospitalRun works
  • Add your name to the Reports Archive (index) Template file in a paragraph tag to show that you have looked through the code, and have the tech stack working.
  • Push changes up to server. (please make sure that your code it not broken!)

Tab - Additional Info

  • Create a view

  • Three Tabs

    Ministry Results Recommendations/Needs Other Significant Items
    3000 Word Text Entry Field 3000 Word Text Entry Field 3000 Word Text Entry Field
  • Save Each Tab's Data

  • Validate Data

Printing Monthly Report to PDF

Make it possible to print a monthly report to PDF.
This is a low priority issue, but its here so that we don't forget that there was a conversation about it.

Joel has asked that there's also a way to print out the reports

Research Hospital Run Functionality - Justin

As a developer I want to be able to research the current code of Hospital Run and generate a research doc, so that I can better understand the system for future use.

  • Research the current functionality of HospitalRun 1 hour
  • Write up a research document stating findings 1.5 hour
  • Put document in Cure/Research Folder in Google Drive
  • Research Document

Tab - Events

Community Events:

  • Date
  • Name
  • Type
  • Location
  • Number of Pastors/Churches
  • Number of Participants

Outreach/Community Events examples include Mobile Clinic, Outreach, Family & Patient Outreach

  • Create View
  • View all Events
  • Edit Events
  • Validate Events

Leadership Events

  • Date
  • Name
  • Description of Topic
  • Location

Auto total number of participants

Keep Track of Participants Data (Support partial Data)

  • Name
  • Organization/Church
  • Gender
  • Create Tab
  • Create View
  • Track Event Info
  • Validate Events
  • Add Participant
  • Edit Participant

Tab - Submit

This is how you submit reports for inventory, and I would like to look into creating something similar to this when submitting the monthly reports.
screen shot 2015-02-20 at 10 15 06 am
The idea would be that we would have a list of "pages" that need to be completed before you are able to even click the submit button, and those would be green or red depending on completed or not (maybe checks and "x's") and each of those (buttons?) keeping track of validation would also be clickable so people could see what they needed to finish and they would be able to click what still needed to be finished.

@neongreenfruit

Reference: #77, #78

Tab - Summary

  • Bedside Presentations
  • Playroom Presentations
  • Jesus Film
  • Open Air Meetings
  • Mobile Clinics
  • More Opportunities

For Each Section:

  • People reached
  • Bibles Given out
  • Totals for all
  • Validation (numbers?)

Routing

As a Cure Intern I need to get a base Ministry Module existing, so that when the team begins to work, there is something in place for them to build off of.

  • Sub-Navigation in report (tabs??)
    • Copy New Patient Formatting (peter did this, still tweaking this)
    • Celtson added more sub navigation!
  • Work through the top level navigation bar - 2 hours
  • Set up Ministry Model - 10 hours

Learn Tech Stack - Justin Gillespie

  • Get Technology Stack working 17 hr
  • Download Ember Inspector from the Chrome Web Store 3 minutes
  • Show that on your computer HospitalRun works 5 minutes
  • Add your name to the Reports Archive (index) Template file in a paragraph tag to show that you have looked through the code, and have the tech stack working. 30 minutes
  • Push changes up to server. (please make sure that your code it not broken!) 5 minutes

Create Static View for Faith Declarations

As a developer/designer I need to have the static view layout of the faith declarations tab on Hospital Run, so that I can begin to work on the functionality of the view.

  • Add fields for user to enter information - 30min
  • Make sure not all data is mandatory - 15min
  • Attach view to Faith Declarations tab - 15min

Research HospitalRun Functionality - Rebekah Smith

As a developer I need to be aware of the functionality that currently exists in HospitalRun so that I can implement efficient and consistent functionality across the module and the application.

  • Research the current functionality of HospitalRun 1 hour
  • Talk to Freddy about his thoughts 1 hour
  • Talk to John about his thoughts 20 minutes
  • Write up a research document stating findings 1 hour 40 minutes
  • Put document in Cure/Research Folder in Google Drive

Total Hours: 4 hours

Research Document

Ministry Module Documentation

As the Monthly Report Team's Documentation Expert, I need to keep track of the progress of the module, so that I can make sure that the project is going to get done on time.

  • Create Documentation for out Module (as we go along) 11hrs

Create New Report - Part 3

As a report I need an archive variable so that I can show up in the archived reports tab.

  • Create Archive Variable 10 min
  • Display archive reports on archive tab 1.5 hours
  • Change In Progress Reports Page to only pull non-archived reports 45 min
  • Create "Submit Function" to change Archive Variable (to true) 1.5 hours

Finish Part 2 before working on this
#80 #81

Reference: #38 and #39
@Falconvaulter and I will both be working on this.

(Moved from Sprint 3 to Sprint 4)

Learn Tech Stack - Rebekah Smith

As a developer on the cure project I need to know how the technology stack works on my machine so that I can not only develop our application, but also understand how it all works on my specific machine.

  • Get Technology Stack working - 8 Hours
  • Download Ember Inspector from the Chrome Web Store - 10 minutes
  • Show that on your computer HospitalRun works
  • Add your name to the Reports Archive (index) Template file in a paragraph tag to show that you have looked through the code, and have the tech stack working - 5 minutes
  • Push changes up to server. (please make sure that your code it not broken!) - 5 minutes

Create New Report - Part 2

As a User I need to be able to view all the unfinished reports so that I can select which one to edit

  • Store New (unfinished report) in the "In Progress Report" Section 3 hours
  • "In Progress Report" list on index page 1 hour @Falconvaulter
  • Click report to load that specific report (By ID)
  • Set archieved variable to False
  • Keep report ID in in progress reports until submitted

Reference: #38 and #40

Learn Tech Stack - Peter Jones

  • Get Technology Stack working - 8 hours
  • Download Ember Inspector from the Chrome Web Store < 1 hours
  • Show that on your computer HospitalRun works 2 hours
  • Add your name to the Reports Archive (index) Template file in a paragraph tag to show that you have looked through the code, and have the tech stack working. 2 hours
  • Push changes up to server. (please make sure that your code it not broken!) < 1hours

Christianity Explored Class View Creation - Initial

As a developer I need to create a Christianity Explored Class view from the basis of the design document, so that the user can successfully navigate the view.

  • Look into how the module has been created thus far 1 hour
  • Look through the existing code to learn the conventions 1 hour
  • Create a view that shows up when someone clicks the 'Christianity Explored' Tab Under the 'New Report'/'In Progress Report' section of the module. 3 hours

Referencing Issue: #12

Search/ Filter Functionality

  • Be able to Search through the database by name
  • Make sure a filter function works for the New Believers - 5hrs

Referencing Issue: #20

Summary Sheet View Creation - Initial

As a developer, I need to create a view of the Summary tab so that others can understand the design and layout of the Summary tab.

  • Look into how the module has been created thus far 1hr
  • Look through the existing code to learn the conventions 2hrs 15mins
  • Create a view that shows up when someone clicks the 'Summary' Tab Under the 'New Report'/'In Progress Report' section of the module. 6hrs 45mins

Referencing Issue(s): #13, #15, #16, #17, #18, #19, #21

Learn Tech Stack - Keith Benning

  • Get Technology Stack working
  • Download Ember Inspector from the Chrome Web Store
  • Show that on your computer HospitalRun works
  • Add your name to the Reports Archive (index) Template file in a paragraph tag to show that you have looked through the code, and have the tech stack working.
  • Push changes up to server. (please make sure that your code it not broken!)

Tab - Hospital

Staff Data:

  • Create View
  • Three Tabs

Meetings (Enter number of meetings, auto sum total)

  • Entire staff Devotions
  • Department Devotions
  • Hospital Prayer Group Intercessions
  • Spiritual Center Staff Meetings
Staff Development Continuing Education/Counseling/Support Opportunities
3000 Word text box 3000 Word text box
  • Save data on each tab
  • Validate Data

Patient Data:

  • Create View
  • Create Tab
Bedside Evangelism Playroom Activities
3000 word textbox 3000 word textbox

Playroom Activities examples include Playroom was active with more mothers than children, Bible Stories, Children’s movies, Design Making, Toys, puzzles and games like net ball, and Music cassettes

  • Save data on each tab
  • Validation

Windows Documentation

  • Get project working on a Windows Machine
  • Document how you did it (for the benefit of the other students as well as Cure)

Learn Tech Stack - Katie Painter

  • Get Technology Stack working 7 hours
  • Download Ember Inspector from the Chrome Web Store 5 mins
  • Show that on your computer HospitalRun works 5 mins
  • Add your name to the Reports Archive (index) Template file in a paragraph tag to show that you have looked through the code, and have the tech stack working. 2 hours
  • Push changes up to server. (please make sure that your code it not broken!) 10 mins

Leadership Events View Creation - Initial

  • Look into how the module has been created thus far
  • Look through the existing code to learn the conventions
  • Create a view that shows up when someone clicks the 'Leadership' Tab Under the 'New Report' section of the module.

Referencing Issue: #9

Patient Ministry Create View - Initial

  • Look into how the module has been created thus far
  • Look through the existing code to learn the conventions
  • Create a view that shows up when someone clicks the 'Patient' Tab Under the 'New Report'/'In Progress Report' section of the module.

Referencing Issue: #7

Create New Report - Part 1

As a developer I need to create and save a new ID for each report so that the data in each report can be linked to this report through the ID

  • Look into how creating a new patient works (use this) - #43 (2 hours)
  • Look at linking and Handlebars - 1 hour
  • Create ID structure - for full reports - 8 hours

Reference: #39 and #40
@Falconvaulter

Additional Info View Creation - Initial

As a developer/designer I want to be able to generate an Additional Info view from the basis of the design document, so that the user can successfully navigate the view.

  • Look through the existing code to learn the conventions - 30min
  • Create a view that shows up when someone clicks the 'Additional Info' Tab Under the 'New Report'/'In Progress Report' section of the module. - 1hr
  • Design the view accordingly. Follow Hospital Run conventions where necessary. - 1hr & 30min

Referencing Issue: #3

Learn Tech Stack - Zach Markle

  • Get Technology Stack working
  • Download Ember Inspector from the Chrome Web Store
  • Show that on your computer HospitalRun works
  • Add your name to the Reports Archive (index) Template file in a paragraph tag to show that you have looked through the code, and have the tech stack working.
  • Push changes up to server. (please make sure that your code it not broken!)

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.