Giter Club home page Giter Club logo

AyudarEsFacil

ayudaresfacil.org it's a platform that enables the community to make donations and offerings in an easy and intuitive way.

Installation

Platform & tools

You need to install apache ang mySql server. In windows you can install xampp.

You need to install Node.js and then the development tools. Node.js comes with a package manager called npm for installing NodeJS applications and libraries.

  • Install node.js (requires node.js version >= 0.8.4)

  • Install Grunt-CLI and Karma as global npm modules:

    npm install -g grunt-cli karma bower
    

(Note that you may need to uninstall grunt 0.3 globally before installing grunt-cli)

Get the Code

Either clone this repository or fork it on GitHub and clone your fork. You must download it to the htdocs folder of apache:

git clone https://github.com/ayudaresfacil/ayudaresfacil.git
cd ayudaresfacil

Data Base

You have to run the sql scripts to create the database and initialize. Do this in the order listed below:

```
/dbscripts/01 - ScriptBD_ayudaresfacil_createdb.sql
/dbscripts/02 - ScriptBD_ayudaresfacil_georeferences.sql
/dbscripts/03 - ScriptBD_ayudaresfacil.sql
```

App Server

Our backend application server is developed with PHP Codeigniter.

Client App

Our client application is a Angular application but our development process uses a Node.js build tool Grunt.js. Grunt relies upon some 3rd party libraries that we need to install as local dependencies using bower and npm.

  • Install local dependencies (from the project root folder):

    cd client
    bower install
    npm install
    cd ..
    

    (This will install the dependencies declared in the client/bower.json and client/package.json files)

Building

Configure Server

Configure the database access (username and password)

api/application/config/database.php

Running

Start the Server

  • Run the server

    Just start apache server and browse the application at [http://localhost/ayudaresfacil/api]

Start the Client

  • Run the client

    For run the client application you just got to do the following:

    cd client
    grunt serve
    

Running Client Test

Unit Test

```
cd client
grunt watch
cd ..
```

Build the client app

The app made up of a number of javascript, css and html files that need to be merged into a final distribution for running (/build). We use the Grunt default tool to do this.

  • Build client application:

    cd client
    grunt 
    cd ..
    

It is important to build again if you have changed the client configuration as above.

AyudarEsFacil's Projects

ayudaresfacil icon ayudaresfacil

ayudaresfacil es una plataforma que permite a la comunidad hacer donaciones y ofrecimientos de forma fácil e intuitiva.

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.