Skip to content

hect1c/skitty_v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skitty

The Plug.dj bot for Coding Soundtrack Lounge that runs on Meteor

Note: This bot uses TATDK/plugapi as its API dependency

How To Use In 3 Easy Steps

  1. Clone the Repo

  2. Edit packages/skitty-config/config.json and update each field

    "con": {
         "attempts": 5,
         "delay": 1000,
         "room": "plugdj-room-name"
     },
     "auth": {
         "email": "plugdj-bot-acct-email",
         "password": "plugdj-bot-acct-pw"
     }
  3. Launch app sudo meteor

How To Deploy App to Server

This project uses MUP to deploy any Meteor app to our own server

  1. Install MUP

  2. Edit the following files:

    mup.json

    // Server authentication info
    "servers": [
    {
      "host": "hostname",
      "username": "root",
      "password": "password",
      "sshOptions": { "Port" : 22 },
      "pem": "~/.ssh/id_rsa"
    }
    ],
    
    // Install MongoDB in the server, does not destroy local MongoDB on future setup
    "setupMongo": true,
    
    // WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
    "setupNode": true,
    
    // WARNING: If nodeVersion omitted will setup 0.10.31 by default. Do not use v, only version number.
    "nodeVersion": "0.10.31",
    
    // Install PhantomJS in the server
    "setupPhantom": false,
    
    // Application name (No spaces)
    "appName": "meteor",
    
    // Location of app (local directory)
    "app": "/path/to/the/app",
    
    // Configure environment
    "env": {
    "PORT": 80,
    "ROOT_URL": "http://myapp.com"
    },
    
    // Meteor Up checks if the app comes online just after the deployment
    // before mup checks that, it will wait for no. of seconds configured below
    "deployCheckWaitTime": 15

    settings.json

    "public": {},

    You can set settings for Meteor's settings API

If you frequent the room and wish to contribute, feel free open a pull request or issue. Have fun!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •