bertdida / Skype-Rollcall

Main use of this is for workgroups or in a classroom setting, so the Advisor/HR could rollcall without checking each chat to find who did not reply

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skype-Rollcall

Main use of this is for workgroups or in a classroom setting, so the Advisor/HR could rollcall without checking each chat to find who did not reply.

Requirements

Running the app

  1. Install dependencies; pipenv install.

  2. Activate Pipenv shell; pipenv shell.

  3. In PostgreSQL pgAdmin, create a database named rollcall.

  4. Rename .env.example to remove .example.

    4.1. Set SKYPE_USERNAME and SKYPE_PASSWORD.

    4.2. Set DATABASE_URL to your database's connection string.

    4.3. Optionally set COMMAND_PREFIX to the value you want your command to start with, ex. COMMAND_PREFIX=:.

  5. Run migration; alembic upgrade head.

  6. Start the app; python run.py.

Setting up Skype

  1. Login to your Skype account, this is the account you used on the .env file.
  2. Create a group chat and invite users.
  3. Send :ping. Your account should send pong automatically.
  4. By default, your account is the only account that can utilize the commands. You can add others by sending :admin @firstadmin @secondadmin.

Deployment

This app is using Heroku for deployment. Run git push heroku master to deploy your changes.

Relevant Links

About

Main use of this is for workgroups or in a classroom setting, so the Advisor/HR could rollcall without checking each chat to find who did not reply

License:MIT License


Languages

Language:Python 96.7%Language:Dockerfile 1.6%Language:Mako 1.4%Language:Shell 0.3%