Full Web Apps with FastAPI Transcripts
Chapter: Deploying FastAPI on Linux with gunicorn and nginx
Lecture: Adding ohmyzsh
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Before we start configuring our server, I wanna set up Oh My Zsh, or Oh My Z shell Now, this is absolutely not required.
0:08
But I find the ability to go back through history and use frequently commands and adapt
0:13
them and stuff and just knowing how to work with git, you can see, like in the little screenshot here,
0:18
the prompt changes based on where you are in a git repository and things like that, just a lot, a lot nicer.
0:24
So I'm gonna go over here and I'm gonna copy this bit right there because that's how we're going to install it. And let's to reconnect to the server.
0:32
I renamed the host name because it was driving me crazy. So now it's weatherserver. And in order to install this,
0:37
I have to say apt install zsh because this is based on Z shell. And then run this, wait for a minute,
0:45
make it the default. And now we have a little bit of a nicer prompt. The next time we log in,
0:50
actually gotta log out twice the first time because you log out of z shell, then log out of bash. We'll have this, you see,
0:56
our little new shell is here. And we'll see maybe some stuff as we go through it. But this is just a nice little step.
1:02
I find this a much, much nicer way to work with servers. So I encourage you to set this up. Don't have to, but I find it makes life a little bit nicer.