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?

Top comments (5)

 
yobretyo profile image
Bret

I didn’t have those folders before

 
yobretyo profile image
Bret

What makes it better than a alias?

Collapse
 
yobretyo profile image
Bret

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

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

Collapse
 
yobretyo profile image
Bret

Is that made in Animator on Mac?