https://github.com/am2fq/csci5560

https://github.com/am2fq/csci5560

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: am2fq
  • License: mit
  • Language: PHP
  • Default Branch: main
  • Size: 416 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 4 years ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

CSCI5560

Group members:

Adel Mahfooz

Matthew Radice

Purpose:

Purpose of project.

TL;DR:

To run this code you will need...

  1. Download Telegram application in your laptop or mobile.

  2. Open Telegram and create an account. Go to the search bar and search for @adelmtsubot. You will see "Adel mtsu" in the result.

  3. Select "Adel mtsu" and push "start" at the bottom to opt in to our system. This means that you are giving your consent to the bot send messages to you.

  4. Install mysql https://dev.mysql.com/downloads/mysql/

  5. Login to mysql server and run Project_db.sql script. This will create a database named as project and all the required tables for the application.

  6. Install Xampp server. https://www.apachefriends.org/download.html

  7. After installing, open xampp and click the 'Start' button under 'Actions' aside to Apache. This will turn on webserver in your machine.

  8. Paste the folder from github named "AD" inside htdocs under xampp directory. Typically this will be in "C:\xampp\htdocs"

  9. Open config.php under AD folder and replace with your server credentials. This a very small file with 3 lines and holds: $mysqlhost=<your server name>; $user=<username>; $password=<password>;

  10. Now as mysql and webserver is running and you have the php program in htdocs folder, Execute below url in browser. http://localhost/AD/update_chatid.php

This program will go into database and scan for all the users whose chatid is not yet updated. It will then inturn go to Telegram BOT, collect the chatids and update the database accordingly.

Checking: As we are in process to build a front end, if you want to check if everything is working as of now please follow below steps. 1. Go to mysql server and paste the mysql cmd given below. Replace first two fields i.e. 'Name' and '615----' with your name and phone number that you used to create Telegram account. insert into project.users values('Name','615----',NULL,'testapp','testgroup'); Note: This testapp and testgroup is already created for you when running the Projectdb.sql script. 2. Go to browser and hit the url to scan for your id. ``` http://localhost/AD/updatechatid.php ```

  1. Go back to mysql server and paste the below cmd to check if your chat id is populated. select * from project.users;

Owner

  • Name: Adel Mahfooz
  • Login: am2fq
  • Kind: user
  • Location: USA

GitHub Events

Total
  • Push event: 7
Last Year
  • Push event: 7

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 4 minutes
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.33
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • mtr3t (3)
Top Labels
Issue Labels
Pull Request Labels