This project is a Django Polls web application built using the official Django tutorial. It includes a CI/CD pipeline with automated testing, linting, formatting checks, and deployment.
Live App: http://django-env.eba-gpemsgbr.us-east-1.elasticbeanstalk.com/polls/
- Django Polls application
- Continuous Integration using Travis CI
- Code formatting check with Black
- Linting with Flake8
- Test coverage using coverage.py and Coveralls
- Automatic deployment to AWS Elastic Beanstalk
Install dependencies:
pip install -r requirements.txt
Run migrations and start server:
python manage.py migrate
python manage.py runserver
Run tests with coverage:
coverage run manage.py test
coverage report
The app is automatically deployed to AWS Elastic Beanstalk after successful Travis CI builds.
Ananya Singh