amr_aly

Untitled

May 6th, 2021
58
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @ECHO OFF
  2. # To select between production and development settings, so you must use --settings
  3. # open command, activate env and then run the project by manage command
  4. start cmd.exe /k "D:\Django\win_envs\salesenv\Scripts\activate && cd D:\Django\projects\stock\stockapp\kmastock\ && python manage.py runserver 0.0.0.0:8010 --settings=kmastock.settings.development"
  5.  
  6. # open Opera browser on windows 10
  7. start C:\Users\Root\AppData\Local\Programs\Opera\launcher.exe "http://localhost:8010"
  8.  
  9.  
RAW Paste Data