Bummer! This is just a preview. You need to be signed in with a Pro account to view the entire video.
Why Use a Deploy Account?1:02 with Jay McGavren
It's considered best practice for your developer account to have limited access, and to create a separate deployment account with full control over the system. You can use the deployment account to set up your app and deploy new versions, and use your development account for day-to-day maintenance tasks, secure in the knowledge that making a mistake won't break everything.
To follow along you're going to need administrative access to a Linux server. If you don't have one set up, see our Linux Servers on VirtualBox workshop.
[SOUND] When working on the public server where your users will
interact with your app, you need to be careful.
If you accidentally alter the wrong settings, service,
or file, your app could go down.
That's why it's considered best practice for your developer account to have limited
access and to create a separate deployment account with full control over the system.
You can use the deployment account to set up your app and deploy new versions and
use your development account for day to day maintenance tasks,
secure in the knowledge that making a mistake won't break everything.
Let's try setting up a deployment account on a server now.
To follow along you're going to need SSH access to a remote Linux server or
a server set up in a virtual machine.
See the teachers notes for more info.
There's a fair number of things that can go wrong in this process, so
make sure you're following the commands closely.
You may also find that the screens presented to you don't
exactly match what's in the video.
Be sure to check the teacher's notes for troubleshooting tips.
You need to sign up for Treehouse in order to download course files.Sign up