Commit fb08a92b authored by NAVNEET's avatar NAVNEET

project

parents
This diff is collapsed.
moodleNotifier @ b3e98e2c
Subproject commit b3e98e2c2d46f7ef4549fb0746c0a92a340793d8
Git Link:
https://git.cse.iitb.ac.in/navneetranjan/cs699project
Navneet Ranjan <203050106> Dialogflow intent creation and working with twilio part.
Bandana Ravi Teja <203050084> Writing Database code for accesssing stored subject information and automation code for sending updates to students daily.s
Abhishek Chugh <203050046> Getting data from moodle Api and writing integration functions along with updations.
Vara Prasad Kolli <203050114> Writing the website Registration page in Django and the storage of students in the database.
How to use:
For using moodleNotifier,
You need to have Moodle Token, for generating Moodle token you can use generatetoken.py file to generate the moodle token.
Command : python3 generatetoken.py
You have to input your username and password in the terminal and then it will print your moodle token in the terminal itself. Just copy and use while registering on website.
Write the moodle username and password in the letsloginyourself.py and the code will generate moodle token.
Open the Web Browser and go to https://moodlenotifier.herokuapp.com and register for the moodleNotifier.
To Run on the Local Machines with Source Code:
Using moodleNotifier is very simple. You need to have installed the dependencies for running the server locally in your machine.
To install python3 on ubuntu, run the following command in your terminal.
sudo apt-get install python3
To install Django on ubuntu, run the following command in your terminal.
pip3 install django
And install the requirements as mentioned in requirements.txt
One needs to git clone the project. After that open terminal in moodlenotifier of the project directory and run following commands.
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver
To access the application open the web browser and go to "localhost:8000"
To Run from the herokuapp Server:
The moodleNotifier app is hosted on the heroku Server.
To run it. Open web browser and goto https://moodlenotifier.herokuapp.com/
And then register yourself by clicking on register button and adding the details as required.
To chat with the bot :
Register with us at the website.
Add +1 (415) 523-8886 to your contacts.
Send first message : join enemy-pig
Just send Hi to the bot and it will send you information on what kind of questions to ask the bot.
References :
https://docs.moodle.org/dev/Core_APIs
https://github.com/C0D3D3V/Moodle-Downloader-2
https://docs.djangoproject.com/en/3.1/
https://apscheduler.readthedocs.io/en/stable/modules/triggers/interval.html#module-apscheduler.triggers.interval
https://github.com/nikhilkumarsingh/WhatsAppBotTut
https://www.twilio.com/user/account/two-factor/verify?g=%2Fconsole%2Fsms%2Fwhatsapp%2Flearn%3F&t=f8ac1360bcde721e2e5d56ee98dc6b802a45b3aaa9b8b32b418cb431010b9d60
https://www.youtube.com/watch?v=MoX36izzEWY
https://getbootstrap.com/docs/4.5/getting-started/introduction/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment