Chapter 6

Deploy

Ship to a VPS with one command.

~13 min total2 lessonsAssignment

By the end of this chapter you'll be able to

  • Configure production env
  • Run `grit deploy`
  • Set up HTTPS + a domain

Chapter assignment

Ship to a test domain

Spin up a $5 VPS, point a subdomain at it, and run `grit deploy --domain api.<your-domain>`. Verify HTTPS works and `/api/health` is reachable from your phone.

See success criteria

Lesson 1 takes ~8 min.

Start chapter

Spot a typo? Have an idea?

Help us improve this chapter. One click opens a GitHub issue with this chapter's URL pre-filled — suggest a clearer wording, report a bug, or request a new lesson. The course keeps improving thanks to learners like you.

Suggest an improvement on GitHub