daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest May 26th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 ###############
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top