GithubHelp home page GithubHelp logo

filabreu / unlock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielweinmann/unlock

0.0 2.0 0.0 506 KB

Distributed & recurring crowdfunding platform

Home Page: https://unlock.fund

License: MIT License

Ruby 58.93% Shell 1.20% JavaScript 0.61% CoffeeScript 1.59% CSS 12.45% HTML 25.22%

unlock's Introduction

Unlock Build Status Code Climate

Unlock people's pontential through recurring crowdfunding.

Installing

There are two ways to install and run Unlock for development:

Locally

First, make sure your system has the following dependencies:

  • Ruby 2.0+
  • PostgreSQL 9.3+ (you'll need the postgresql contrib modules as well)

Then, simply clone the repository:

git clone [email protected]:danielweinmann/unlock.git

And install all the gem dependencies:

cd unlock
bundle install

Copy config/database.sample.yml into config/database.yml, adjusting any options to your database configuration. To create the schema and run the migrations:

rake db:migrate
rake db:setup

At this point, you should have a green build:

rake

...and you're ready to go! :)

Using Vagrant

Before installing, make sure you have recent versions of Git, Vagrant and VirtualBox installed on your development machine.

Then, simply clone the repository:

git clone [email protected]:danielweinmann/unlock.git

And create a Vagrant machine from the root of the project:

cd unlock
vagrant up

This will download and install all the required dependencies, and set up the database for you. To make sure everything worked well, try running the tests:

vagrant ssh -c 'cd /vagrant && rake'

To run the application in development mode:

vagrant ssh -c 'cd /vagrant && rails server'

Payment gateways

Every initiative on Unlock can add and configure multiple payment gateways, which are separate gems which follow the UnlockGateway pattern.

Available gateways

Creating a new gateway

Create a gem that follows the UnlockGateway pattern, integrate it with Unlock's code, and create a Pull Request. See Contributing for details on how to contribute.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

This project rocks and uses the MIT LICENSE.

unlock's People

Contributors

danielweinmann avatar diogob avatar cuducos avatar diegorv avatar lfzawacki avatar

Watchers

Filipe Abreu avatar James Cloos 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.