Deploying a Racket Web Server - racket/racket GitHub Wiki

First: While developing run the racket web-server on your own computer.

Second: When you want to deploy it, the most common solution is to get a vm in the cloud. There are multiple approaches:

  1. Get a vm. Install linux first. Then install racket (including the racket-web server).

  2. Find a host with support for Docker. Use https://github.com/jackfirth/racket-docker as a starting point. Note: You can test your Docker containers on your own computer.

Note that Jesse Alama has written a book on using the Racket web-server: https://gumroad.com/jessealama

Also: drop by the Racket slack channel, there is a good chance of getting some tips.

These blog posts are well worth a read:

https://lisp.sh/deploy-racket-site-with-ubuntu-and-apache/

https://lexi-lambda.github.io/blog/2015/08/22/deploying-racket-applications-on-heroku/

https://sagegerard.com/racket-webserver-notes.html