DEV Community

Bret
Bret

Posted on

SHORTCUT FOR RUNNING COMMANDS: “python manage.py runserver” and “source ./venv/bin/activate”

What is a keyboard shortcut to enter in a line of code into terminal? Instead of typing out the commands to start my env and server?

Discussion (8)

yobretyo profile image
Bret Author

I didn’t have those folders before

yobretyo profile image
Bret Author

What makes it better than a alias?

Collapse
yobretyo profile image
Bret Author

I made “tasks” in VSCode, it works really well instead of 2 times a code, just 4 presses and it works

Collapse
yobretyo profile image
Bret Author

I made a bashrc and bash file, I entered commands, but it’s not working

Collapse
yobretyo profile image
Bret Author

Is that made in Animator on Mac?