Giter Site home page Giter Site logo

church-management's Introduction

Church Management

Table of Contents

  1. Requirements
  2. Recommended Tools
  3. Installing Environment
  4. Installation Troubleshooting
  5. Architecture
  6. Front End Development
  7. Learning Material

Requirements

Please install the following to work on church management:

  1. VirtualBox. https://www.virtualbox.org/
  2. Vagrant. https://www.vagrantup.com/
  3. Node.js. https://nodejs.org/

The first two pieces of software allow you to run a local virtual machine (VM). The third piece of software will allow you to build the front end software.

Recommended Tools

  1. Sublime Text. http://www.sublimetext.com/. Great editor for Javascript codebases.

Installing Environment

Follow the steps below to set up your local development environment:

  1. Download command and control executable.

    a. Windows: cm-control.exe

    b. OS X: cm-control

  2. Email us your public IP address.

    ...
    == Church Management Command and Control ====
    
    My public IP address: 70.183.18.4
    ...
    
  3. Select i from the command and control menu

    ...
    Menu:
    [ i ]: Installation of church management virtual machine
    ...
    

Installation Troubleshooting

Problem: The virtual machine won't start!

Answer

If you have the files needed to start the virtual machine (Vagrantfile, debian-jessie.box), then you can alternatively run vagrant up without the cm-control executable.

Architecture

The church management product is a single page application (SPA) that is primarily written in Javascript. The SPA communicates with a RESTful API to read and write data. All data is persisted in a database.

The three layers in more detail:

Single Page Application

We use React (http://facebook.github.io/react/) as the primary technology for our application.

RESTful API

The API is written in C#. Specifically we are using .NET 5.0 which is also called "dnx" or "vNext". (https://github.com/aspnet/home)

Database

We picked Postgres as our database. (https://en.wikipedia.org/?title=PostgreSQL)

All the layers run in Linux and more specifically on the Debian/Wheezy distribution. Additionally we use Docker to containerize each layer. The API and database both reside in their own containers.

Front End Development

To contribute to the front end codebase you'll need to get a few things installed first.

  1. Node.js (https://nodejs.org/)
  2. A good editor/IDE for Javascript development. We recommend Sublime Text (http://www.sublimetext.com/).
  3. A git client. We have had good luck with the Github client (https://windows.github.com/, https://mac.github.com/).

After getting the software installed you'll need to do the following to begin to actually write code:

  1. Create a Github account if you don't have one and communicate your Github username to the Church Management team.
  2. After you've been added to the private repository, you'll need to fork the repository.
  3. Now you'll need to clone your forked repository to your local machine. You can use the Github client for example to do this.
  4. Open a command prompt/the console and navigate to the directory where you cloned the repository.
  5. Assuming node -v returns valid data, type npm install. This will install all dependencies.
  6. Now type npm start to run the application.

When the above steps are completed, you should be able to go to http://localhost:8080 to see the application running. If that doesn't work, go to the Troubleshooting section.

Learning Material

Below are links to videos and articles that will help get you up to speed. No fluff has been included. Each link is worth the time.

Git

  1. Learn Git in 15 Minutes

React

  1. Getting Started
  2. Introduction to react.js

church-management's People

Contributors

ryan1234 avatar

Watchers

James Cloos avatar Ernesto Aparicio 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.