Skip to content

jdrew1303/codebounty

 
 

Repository files navigation

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

About

Post and capture bounties on issues in GitHub

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 92.8%
  • HTML 4.8%
  • CSS 2.1%
  • Gherkin 0.3%