Guest User

Untitled

a guest
May 26th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. ############### ENV ###############
  2. mkdir -p .envs/{.local,.production} && touch .envs/{.production/.caddy,.production/.django,.production/.postgres,.local/.django,.local/.postgres}
  3.  
  4. python merge_local_dotenvs_in_dotenv.py # run local
  5. python merge_production_dotenvs_in_dotenv.py # run production
  6. ############### END ENV ###############
  7.  
  8. ############### REDIS ###############
  9. redis-server
  10. redis-cli flushall # clear
  11. ############### END REDIS ###############
  12.  
  13. ############### CELERY ###############
  14. rm -f './celerybeat.pid'
  15. celery -A coinscreener.taskapp beat -l INFO
  16. celery -A coinscreener.taskapp worker -l INFO
  17. ############### END CELERY ###############
  18.  
  19. ############### GULP ###############
  20. npm run dev
  21. yarn run dev
  22. ############### END GULP ###############
Add Comment
Please, Sign In to add comment