Skip to content

This project was https://hodl.zone. It was shut down following Poloniex's closing of lending to US customers

License

Notifications You must be signed in to change notification settings

Emyrk/LendingBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 5, 2019
64cc674 · Mar 5, 2019
Jun 11, 2017
May 25, 2018
Aug 31, 2017
May 25, 2018
May 25, 2018
Jun 7, 2017
Jul 9, 2017
Sep 11, 2017
Mar 5, 2019
Aug 31, 2017
Mar 5, 2019
Jul 15, 2017
May 21, 2018
May 25, 2018
Aug 10, 2017
Jul 9, 2017
May 20, 2018
Mar 5, 2019
Jun 25, 2017
Jun 10, 2017
Jun 2, 2017
Aug 17, 2017
Jun 27, 2017
Jun 27, 2017
Mar 5, 2019
Aug 15, 2017
Jun 1, 2017

Repository files navigation

LendingBot

Add route to prod.

Running

export USER_DB=$HOME/database/users/UserDB.db
export SEC51_KEYPATH=$HOME/database/keys/
export LOG_PATH=$HOME/database/log/hodlzone.log
export USER_STATS_DB=$HOME/database/users/UserStatistics.db
export REVEL_LOG=$HOME/database/
export INVITE_DB=$HOME/database/InviteCodes.db

Run this separtely

export HODLZONE_KEY=KEY
export COINBASE_ACCESS_KEY=API-KEY
export COINBASE_SECRET_KEY=SEC-KEY
export MONGO_ADMIN_PASS=$1
export MONGO_REVEL_PASS=$2
export MONGO_BAL_PASS=$3
export MONGO_BEE_PASS=$4
``

# Welcome to Revel

A high-productivity web framework for the [Go language](http://www.golang.org/).


### Start the web server:

   revel run myapp

### Go to http://localhost:9000/ and you'll see:

    "It works"

## Code Layout

The directory structure of a generated Revel application:

    conf/             Configuration directory
        app.conf      Main app configuration file
        routes        Routes definition file

    app/              App sources
        init.go       Interceptor registration
        controllers/  App controllers go here
        views/        Templates directory

    messages/         Message files

    public/           Public static assets
        css/          CSS files
        js/           Javascript files
        images/       Image files

    tests/            Test suites


## Help

* The [Getting Started with Revel](http://revel.github.io/tutorial/gettingstarted.html).
* The [Revel guides](http://revel.github.io/manual/index.html).
* The [Revel sample apps](http://revel.github.io/examples/index.html).
* The [API documentation](https://godoc.org/github.com/revel/revel).