/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

Primary LanguagePythonMIT LicenseMIT

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