Enable communities to distribute funds to push their cause forward. https://openbounty.status.im/
Go to file
pablodip 161cd7bd99 Merge remote-tracking branch 'status/develop' into sort-and-filter 2018-01-25 10:02:17 +01:00
.github Adopt status-react issue template 2017-03-06 20:36:21 +02:00
contracts Revert "Improved Multisig" 2017-11-10 09:46:04 +02:00
doc Config support and other little improvements (#231) 2018-01-24 12:58:58 +02:00
env Merge pull request #205 from status-im/suppress-logging-in-dev 2018-01-16 17:44:50 +02:00
externs Fix issues with injected web3 and advanced cljs compilation 2017-02-23 12:26:29 +02:00
macchiato-app fixes #169 remove http endpoints 2017-11-16 21:16:25 +03:00
resources Merge pull request #216 from status-im/feature/pagination-#156 2018-01-16 17:19:06 +02:00
src Merge remote-tracking branch 'status/develop' into sort-and-filter 2018-01-25 10:02:17 +01:00
static_langing_page Add HubSpot tracking code to welcome page 2017-12-27 17:59:29 -05:00
test Config support and other little improvements (#231) 2018-01-24 12:58:58 +02:00
.gitignore Config support and other little improvements (#231) 2018-01-24 12:58:58 +02:00
LICENSE.md Update LICENSE.md 2017-03-09 15:32:03 +01:00
README.md Update README.md 2018-01-17 03:15:46 -06:00
build-landing-page.sh Improved welcome page 2017-11-01 23:12:59 -05:00
build_contracts.sh Only run web3j for required contracts 2017-11-10 12:22:58 +02:00
project.clj Dev fix: add cljs source paths to :dev profile and remove CIDER dep. 2018-01-23 12:49:19 +02:00

README.md

Status Open Bounty

Allows you to set bounties for Github issues, paid out in Ether or any ERC-20 token.

More information: https://wiki.status.im/Status_Open_Bounty

Live production version: https://openbounty.status.im The master branch is automatically deployed here.

Live testnet (Ropsten) version: https://openbounty.status.im:444 The develop branch is automatically deployed here.

Prerequisites

You will need Leiningen 2.0 or above installed.

PostgreSQL

<<<<<<< HEAD

Make sure you install PostgreSQL and properly set it up:

sudo -u postgres psql -c "CREATE USER commiteth WITH PASSWORD 'commiteth';"
sudo -u postgres createdb commiteth

Running

Launch following commands each in its own shell:

lein run
lein figwheel
lein less auto

=======

Make sure you install PostgreSQL and properly set it up:

sudo -u postgres psql -c "CREATE USER commiteth WITH PASSWORD 'commiteth';"
sudo -u postgres createdb commiteth

solc

Solidity compiler 0.4.15 is required and needs to be in $PATH.

web3j

Web3j 2.3.0 is required and the command line tools need to be in $PATH.

Running

Make sure env/dev/resources/config.edn is correctly populated.

Lauch a local geth node with the bot account unlocked:

#!/bin/bash
geth --fast --testnet --cache=1024 --datadir=$HOME/.ropsten --verbosity 4 --port 50100 --ipcpath ~/.ropsten/geth.ipc --rpc --rpcaddr 127.0.0.1 --rpcport 8545 --rpcapi db,eth,net,web3,personal --rpccorsdomain "https://wallet.ethereum.org" --unlock "0xYOUR_ADDR" --password <(echo "YOUR_PASSPHRASE")

Launch the following command in a separate shell:

lein less auto

Next you want to start a REPL on the backend and the frontend.

lein repl

Now you can start a CLJS repl with:

(use 'figwheel-sidecar.repl-api)
(start-figwheel!)
(cljs-repl)

(Alternatively, if you use emacs and CIDER, you can run cider-jack-in. Details here)

Next start the application from the clojure REPL with:

(user/start)

Uberjar build

To create a standalone uberjar:

lein uberjar

This creates target/uberjar/commiteth-<git-sha>.jar

Testing

QA

Please refer to doc/testing.md

Clojure tests

lein test

ClojureScript tests

lein with-profile test doo phantom test

Reagent component devcards

lein with-profile test figwheel devcards

Open http://localhost:3449/cards.html

Update landing page

Landing page is static and different CSS and JS due to time constraints.

  • Build CSS with Gulp (see static_landing_page/README.md
  • Make changes and ./build-landing-page.sh

This copies over necessary artifacts to resources dir.

License

Licensed under the Affero General Public License v3.0