Skip to content

Autorun collectstatic when django container starts

Placeholder Ihsan Ullah requested to merge collect_static into develop

@ mention of reviewers`

@Didayolo`

A brief description of the purpose of the changes contained in this PR.

django container command updated to run collectstatic when it starts. Added caddy_data and caddy_config to gitignore

Issues this PR resolves

A checklist for hand testing

  • delete src/staticfiles folder
  • run docker-compose up -d
  • check that src/staticfiles folder is created
  • check that CSS works when you access it from localhost

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

Merge request reports

Loading