Coder Social home page Coder Social logo

This project is not in continued development -- it was a fun experiment to learn meteor. There are a lot of tools to help fund open source projects but feel free to use this code however you like.

An Open Source Bounty System

As a project gets more popular, the increase in resources for a project are outstripped by the increase in demand for feature additions and bug fixes.

Development

###Setup Project

OS X / Linux / Ubuntu

  1. Install meteor and meteorite:

     curl https://install.meteor.com | /bin/sh
     npm install -g meteorite
    
  2. Clone this repo:

     git clone https://github.com/codebounty/codebounty codebounty
     cd codebounty
    
  3. Install the dependencies:

     npm install --dev && cd meteor && mrt install && cd ../
    
  4. Install dependencies for node-canvas, please check out node-canvas wiki.

  5. Install Bitcoin and put this in your bitcoin.conf file:

     rpcuser=oldgregg
     rpcpassword=4Mr7LjcTbx66DpVvzkA93AvJesx6HpSY4974CXn57TXZ
     testnet=1
     server=1
    

    Check out Bitcoin.org for the Bitcoin binaries, and check out the [Bitcoin wiki](https:// en.bitcoin.it/wiki/Data_directory) for information on how to find your bitcoin.conf file.

    To install bitcoind on mac: sudo port install bitcoin

  6. For testing you will also need to download chromedriver into a folder and add that folder to your PATH.

  7. Copy and rename config.json.example to config.json.

  8. Copy settings.local.json.example to meteor/settings.local.json.

###Run Project

Run grunt server.

If you are trying to test out the images, or the paypal callback, use some form of tunnel like forward or localtunnel (free) then update the ROOT_URL in settings.json.

If you want to debug the server:

  • Install node-inspector: npm install -g node-inspector
  • Run grunt server:debug in one terminal.
  • Run node-inspector in another terminal.
  • Open the inspector url.

###Run Tests

Download selenium server then run it java -jar selenium-server.jar in one terminal, grunt server in another, then grunt test in another.

To debug tests run grunt test:debug instead, and node-inspector.

###Write Tests

Tests are written using cucumber-js and Selenium's WebDriverJs.

Discussion

Code Bounty's Projects

bitcoin-meteor icon bitcoin-meteor

A Meteor package for simplifying the implementation of Bitcoin services.

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.