I've noticed that reducing any friction to being able to develop on my side project is a HUGE productivity boost. Reducing the number of steps to get to the actual coding part is critical.
I found a simple way to launch my side project with the push of one button. I press the button and walk away to get coffee. When I get back, my project is built and running.
I'm using the El Gato Stream Deck app for this purpose.
You can set up different commands, macros, etc, and control your computer through the app.
I have a variety of shortcuts set up.
- The green staircase opens a folder with various commands for starting my project Deliberate Python.
- The owl is a folder with commands for my day job project.
- GH is a shortcut that types my github URL.
- LI is a shorcut that types my LinkedIn URL.
- Stack overflow, github, notion, and hacker news are all shortcuts as well. These buttons open a browser and navigates to those URL's
How I used to get started on adding features to my project:
- Open terminal
- Navigate to my project
npm start in vs code
- Switch over to another desktop so I can open the backend code in that workspace
- Go back to terminal
pyenv shell deliberatepython
uvicorn sql_app.main:app --reload
Using the Stream Deck app
- Press the Front-end button on the stream deck app and let it complete all the front-end steps
If I need the backend spun up, then I just:
- Press back-end button on the stream deck app and let it complete all the back-end steps.
I've noticed that I'm able to work on small features easier when I only have 10-20 minutes here and there using this system. It's been such a big productivity boost.
If you're into programmer productivity and/or Python development, I'd love for you to read stories like this on my newsletter Deliberate Python. You can subscribe here