A project for System Programming @ TU-Sofia
- Install Postfix for the SMTP server. Use the default configuration\
sudo apt install postfix
- Install pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
- Remove these lines from .bashrc
export PATH="~/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
- Install python 3.6.4 and create an environment
pyenv install 3.6.4
pyenv virtualenv 3.6.4 mail-tracker-env
pyenv activate mail-tracker-env
- Install python requirements.
pip install -r requirements.txt
- Run the db migrations
cd mail_tracker_web
python manage.py migrate
- Run the webserver
cd mail_tracker_web
python manage.py runserver
- Run the POP3 processing application in a different tab
cd pop3_client
python client.py
- Open your browser and go to
localhost:8000