Skip to content

yanik-ai/FortyTwoTestTask

 
 

Repository files navigation

42-test task

Installation

  1. create and active your virtual environment (tested on Python 2.7)
  2. install requirements: make req
  3. run migrations (initial data in it) make migrare
  4. run project itself make run

Make Commands

  1. make shell - run shell_plus
  2. make syncdb - sync datavase
  3. make test - run tests
  4. make load - load fixtures
  5. make run - run server
  6. make req - install requirements

Django commands

  1. python manage.py models - displays all project models and the count of objects in every model

Recomendations

  • apps in apps/ folder
  • use per-app templates folders
  • use per-app static folders
  • use migrations
  • use settings.local for different environments
  • common templates live in templates/
  • common static lives in assets/
  • management commands should be proxied to single word make commands, e.g make test

About

django test task for 42cc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 46.8%
  • CSS 27.7%
  • Python 19.9%
  • HTML 4.9%
  • Other 0.7%