Buddy scheme management system web application.
We are using pythons virtual enviorements to make sure we are all using the same version of the dependencies and of python. Python 3.6> is used.
- Check you have virtualenv on your machine, or download it.
$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ aws configure
- You will be asked to input AWS credentials (access credentials have been specified in the report).
- Run the application
$ source env/bin/activate
(env) $ pytest
$ source env/bin/activate
$ export FLASK_APP=flaskr
(env) $ flask run
As currently Amazon's SES (Simple Email Service) gets sent to KCL's junk email, we setup a local SMTP Server to send emails to. This allows you to read the emails being sent in terminal.
To view the emails, run:
(env) $ python3 -m smtpd -c DebuggingServer -n localhost:1025