Skip to content

Instantly share code, notes, and snippets.

View bhujelaayushgc's full-sized avatar
🎯
Focused!

Aayush Bhujel bhujelaayushgc

🎯
Focused!
View GitHub Profile
@bhujelaayushgc
bhujelaayushgc / restart.sh
Created July 13, 2021 17:24
Scripting Example
#!/bin/bash
# Usage:
# $ bin/restart
# Remember to be on the root of the project.
# Script does not take any arguments.
# This script makes most of its decision based on the ENVIRONMENT value in .env.
# This is important for deploying correct branch as well as starting correct celery worker.
main() {