hyperevo / rchain-dbr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

See rchain/bounties#260

Installation and Configuration

At a high level:

  1. Create OAuth apps in github, discord.
  2. Initialize a mysql database from dbr_tables.sql etc.
  3. Install software dependencies.
  4. Fill in conf.ini from conf.ini.template.

Detailed, executable instructions are in playbook.yml following ansible conventions. Use ansible-playbook -i inventory.yml playbook.yml once you have inventory.yml set up appropriately:

all:
  hosts:
    SSH_HOST
  vars:
    ansible_user: SSH_USER
    ansible_ssh_pass: ...
    db_host: ...
    db_name: ...
    db_user: ...
    db_password: ...
    gh_client_id: ...
    gh_client_secret: ...

You may need to set other ansible vars such as ansible_python_interpreter: /usr/local/bin/python2.

When creating your github OAuth app, the callback URL should correspond to github_auth_callback.php.

TODO

  • import persons, issues from github repo
    • sync/update
  • dashboard

Beyond PHP

Please excuse the use of PHP; Rholang isn't here yet. :-)

About


Languages

Language:Python 64.5%Language:PHP 20.2%Language:PLpgSQL 13.3%Language:SQLPL 1.0%Language:HTML 0.9%Language:CSS 0.1%