Skip to content

Creating this project

Jon Connolly edited this page Mar 25, 2019 · 6 revisions

This page covers how this repo was initially built

  1. Added requirements directory, then added django and djangorestframework requirements
  2. Added Dockerfile with python-3.6-alpine
  3. docker build .
  4. Added docker-compose.yml file with single app service
  5. docker-compose build
  6. Create app: docker-compose run app sh -c "django-admin.py startproject app ."
  7. commited
  8. added repo to travis
  9. added .travis.yml
  10. added and configured flake8 in app/.flake8
  11. added core app docker-compose run app sh -c "python manage.py startapp core" 1.removed following files from core
  • views
  • tests.py (replace with tests folder)
  1. added wait_for_db command
  2. added postgres support in docker-compose and settings.py
  3. add custom user model to allow email as username

Clone this wiki locally