|
|
|
@ -137,15 +137,19 @@
|
|
|
|
|
//! To give your code a run, you'll need a server to handle Gemini requests and pass them
|
|
|
|
|
//! off to your SCGI server. There's a few Gemini servers out there with SCGI support,
|
|
|
|
|
//! but if you're just interested in giving your code a quick run, I'd recommend
|
|
|
|
|
//! mollybrown, which has very good SCGI support and is super easy to set up
|
|
|
|
|
//! stargazer, which has very good SCGI support and is super easy to set up if you are
|
|
|
|
|
//! already using cargo.
|
|
|
|
|
//!
|
|
|
|
|
//! You can grab a copy of molly brown from [tildegit.org/solderpunk/molly-brown][1].
|
|
|
|
|
//! You can install stargazer by running.
|
|
|
|
|
//! ```sh
|
|
|
|
|
//! cargo install stargazer
|
|
|
|
|
//! ```
|
|
|
|
|
//!
|
|
|
|
|
//! Once you have it, you can find a super simple configuration file [here][2], and then
|
|
|
|
|
//! just run
|
|
|
|
|
//!
|
|
|
|
|
//! ```sh
|
|
|
|
|
//! molly-brown -c molly-brown.conf
|
|
|
|
|
//! stargazer -C stargazer.ini
|
|
|
|
|
//! ```
|
|
|
|
|
//!
|
|
|
|
|
//! Now, when you run your code, you can connect to `localhost`, and molly brown will
|
|
|
|
@ -173,7 +177,7 @@
|
|
|
|
|
//! For more information, see [`Server::set_autorewrite()`].
|
|
|
|
|
//!
|
|
|
|
|
//! [1]: https://tildegit.org/solderpunk/molly-brown
|
|
|
|
|
//! [2]: https://gitlab.com/Alch_Emi/kochab/-/raw/244fd251/molly-brown.conf
|
|
|
|
|
//! [2]: https://gitlab.com/Alch_Emi/kochab/-/raw/devel/stargazer.ini
|
|
|
|
|
//! [blobcat-pout]: https://the-apothecary.club/_matrix/media/r0/thumbnail/the-apothecary.club/10a406405a5bcd699a5328259133bfd9260320a6?height=99&width=20 ":blobcat-pout:"
|
|
|
|
|
//! <style>
|
|
|
|
|
//! img[alt=blobcat-pout] { width: 20px; vertical-align: top; }
|
|
|
|
|