about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--kcgi-start.tar.gzbin0 -> 2208 bytes
-rw-r--r--start.html3
-rw-r--r--tilde.css7
3 files changed, 9 insertions, 1 deletions
diff --git a/kcgi-start.tar.gz b/kcgi-start.tar.gz
new file mode 100644
index 0000000..9875fb5
--- /dev/null
+++ b/kcgi-start.tar.gz
Binary files differdiff --git a/start.html b/start.html
index 53c264a..5e6a3d7 100644
--- a/start.html
+++ b/start.html
@@ -32,7 +32,8 @@
             <p>Keep in mind that if you don't use the previously listed kcgi/ksql/kwebapp libraries, you will need to work with HTTP's eccentricities manually. For an example, here's <a href="helloworld.c.txt">the Hello World code</a> from the LearnBCHS site. And <a href="helloworld.cgi">here it is running</a> as compiled CGI here at the Tilde Institute.</p>
             <p>Once you've written your software to be served via CGI, be sure to statically link the executables. Sure, there's a larger file size, but the benefits outweigh that in this case - there's no relying on what I may or may not have installed on the Tilde Institute's server. For example:</p>
             <p>$ cc -static -g -W -Wall -o app.cgi app.c</p>
-            <p>When you've completed compilation, make sure to set permissions properly (755) and move it to the public_html folder in your home directory. httpd(8) is set to use index.html as the index file, however this can be changed to index.cgi or what-have-you by contacting ahriman via the <a href="https://tilde.town">tilde.town</a> or <a href="https://tilde.chat">tildeverse</a> IRC networks.</p>
+            <p>When you've completed compilation, make sure to set permissions properly (755) and move it to the public_html folder in your home directory. httpd(8) is set to use index.html as the index file, however this can be changed to index.cgi or what-have-you by contacting ahriman via IRC.</p>
+            <p>~institute user <code>&nbsp;xvetrd&nbsp;</code> has written a more detailed example on kcgi than is provided on the library's site. It includes an example makefile as well. The KCGI Starter archive <a href="kcgi-start.tar.gz">is available here</a>. Simply <code>&nbsp;curl -O https://tilde.institute/kcgi-start.tar.gz&nbsp;</code> it to your home directory here on ~institute, untar, make, and make install to test the compilation. It installs to ~/public_html with the proper ownership and permissions. View the index.c source and the makefile to see what goes on under the hood! Feel free to adapt it your own projects!</p>
 	</div>
 </div>
 </body>
diff --git a/tilde.css b/tilde.css
index 1268b76..a10937d 100644
--- a/tilde.css
+++ b/tilde.css
@@ -44,6 +44,13 @@ body {
     width: 550px;
     margin-left: 50px;
 }
+#code {
+    width: 500px;
+    margin-left: auto;
+    margin-right: auto;
+    background-color: #999999;
+    color: #000000;
+}
 a:link {
 text-decoration: none;
 color:#cccccc;