- When user joins, tell them to update profile with: full name, course, teacher
- When user types "!help" ping senpai
- apache
- python3
$ sudo apt-get install libapache2-mod-wsgi-py3 $ sudo a2enmod wsgi $ sudo service apache2 restart
- Create a droplet (use $5 plan) and make sure port 80 is open
- Run
sudo apt update && sudo apt install apache2
- Run this:
$ sudo apt-get install libapache2-mod-wsgi-py3 $ sudo a2enmod wsgi # this might say: "Module wsgi already enabled" $ sudo service apache2 restart $ apt-get install python3-pip $ pip3 install flask
- Run this:
$ cd /var/www/ $ git clone https://github.com/StuyCSDojo/slackbot.git $ cd slackbot # IMPORTANT READ THIS READ THIS READ THIS --- # Modify slackbot.conf and change the value of "ServerName" to the ipaddress of the droplet (ipv4) $ chgrp -R www-data slackbot $ chmod -R g+w slackbot $ cp /var/www/slackbot/slackbot.conf /etc/apache2/sites-available/slackbot.conf $ a2ensite slackbot $ service apache2 restart