Project

General

Profile

Support #849

Setup JBot Development Environment on FreeBSD

Added by Daniel Curtis about 4 years ago. Updated over 3 years ago.

Status:
Suspended
Priority:
Normal
Assignee:
Category:
Ruby
Target version:
Start date:
09/09/2016
Due date:
% Done:

0%

Estimated time:
0.50 h

Description

I've decided to see what I can do to help make the JupiterBroadcasting JBot a little better. So I've setup a local copy of JBot on FreeBSD 10.2 to tinker with. This is a guide on setting up JBot on FreeBSD 10.

Prepare the Environment

  • Make sure the system is up to date:
    pkg update && pkg upgrade
    
  • Install a few dependencies:
    pkg install ruby git rubygem-bundler rubygem-mysql rubygem-sqlite3 rubygem-nokogiri node npm
    

Install JBot

  • Download the latest JBot development version from GitHub:
    git clone https://github.com/rikai/Showbot.git
    cd Showbot
    git checkout devel
    
  • Create an environment file for JBot to use:
    cp .env.example
    
  • Bundle the packages needed to run JBot:
    bundle
    foreman run rake db:migrate
    
  • Create a cinchize config file:
    cp cinchize.yml.example cinchize.yml
    
  • Create a data.json file:
    vi public/data.json
    
    • And add the following:
      {
        'live': false,
        'broadcast': {
          'slug': 'show_slug_here'
        }
      }
      
  • Now run the JBot website and IRC bot:
    bundle exec foreman start -f Procfile.local
    

Resources

History

#1 Updated by Daniel Curtis over 3 years ago

  • Status changed from New to Suspended

Also available in: Atom PDF