amr_aly

Untitled

May 24th, 2021
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### This is some of our session on (Mon 24/05/2021)
  2. # Project Structure Best Practice
  3. 1- https://dev.to/courseprobe/django-project-structure-best-practice-2eeh
  4. 2- https://django-project-skeleton.readthedocs.io/en/latest/structure.html
  5. 3- https://github.com/pydanny/cookiecutter-django
  6.  
  7. ################################################################################
  8.  
  9.  
  10. # Put the next lines in a note pad file with name (activate_environment.bat)
  11. @ECHO OFF
  12. # To activate an Environment
  13. # start cmd.exe /k "D:\your_path_to\your_environment_name\Scripts\activate"
  14. start cmd.exe /k "D:\Django\win_envs\gynenv\Scripts\activate"
  15.  
  16.  
  17. # Put the next lines in a note pad file with name (deactivate_environment.bat)
  18. @ECHO OFF
  19. # To deactivate an Environment
  20. # start cmd.exe /k "D:\your_path_to\your_environment_name\Scripts\deactivate"
  21. start cmd.exe /k "D:\Django\win_envs\gynenv\Scripts\deactivate"
  22.  
  23.  
RAW Paste Data