getting started and irc pages redirect to wiki

This commit is contained in:
Ben Harris 2018-06-05 01:03:27 -04:00
parent 52033f0507
commit f18590ff28
6 changed files with 55 additions and 164 deletions

View File

@ -1,118 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Getting Started | tilde.team</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="tilde.team unix group">
<meta name="author" content="Ben Harris">
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#111111">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-310x310.png">
<link rel="icon" type="image/png" sizes="192x192" href="/apple-touch-icon-precomposed.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="stylesheet" href="/css/hacker.css">
</head>
<body>
<div class="container">
<h1>~~~How to ~tilde; a n00b's primer~~~~</h1>
<h2>Welcome</h2>
<p>New to the command line and all this webby cowfoolery? You're in luck! Here's a basic HELLO WORLD tutorial.</p>
<ol class="menu">
<li><a href="#login">Logging in</a></li>
<li><a href="#browse">Finding your index.html file</a></li>
<li><a href="#edit">Editing your index.html file</a></li>
<li><a href="#refresh">Refreshing your editor view (when chat interrupts)</a></li>
<li><a href="#more">How to be l33t</a></li>
</ol>
<h2 id="login">Logging in</h2>
<pre>
_______________________________________
/ WELCOME TO TILDE.TEAM A PLACE FOR WEB \
\ PAGES /
---------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
</pre>
<p>* On a PC, you'll need to get an ssh client. <a href="http://www.putty.org/" target="_blank">PuTTY</a> is a good one.</p>
<p>Linux</p>
<ol>
<li>Open a terminal. Try <kbd>ctrl + alt + t</kbd>.</li>
<li><pre>ssh your_username@tilde.team</pre></li>
<li>Enter your password.</li>
</ol>
<p>Mac</p>
<ol>
<li>Browse to <code>Applications/Utilities/Terminal</code> and launch Terminal (or press cmd+space, start typing Terminal, and press return)</li>
<li><pre>ssh your_username@tilde.team</pre></li>
<li>Enter your password.</li>
</ol>
<h2 id="browse">Finding your index.html file</h2>
<p>There are some basic command line commands you'll want to Google and learn, but for this tutorial you only need a few:</p>
<ul>
<li><code>ls</code> = list files and folders in current directory</li>
<li><code>cd</code> = change directories</li>
<li><code>nano</code> = a command line text editor</li>
</ul>
<ol>
<li>Type: <code>ls</code> to see where you are. You should see a directory called "public_html"</li>
<li>Type: <code>cd public_html</code> to move into that folder. (<code>cd</code> stands for <code>c</code>hange <code>d</code>irectory.)</li>
<li>Type: <code>ls</code> to see where you are. You should see your index.html file</li>
</ol>
<h2 id="edit">Editing your index.html file</h2>
<ol>
<li>Type: <code>nano index.html</code> to open your index.html file and begin editing</li>
<li>Edit your file, willy nilly</li>
<li>When done editing, use <kbd>ctrl + x</kbd> to close the file</li>
<li>You'll be asked if you want to save; say <kbd>y</kbd> and to return to the command line</li>
<li>Refresh your tilde page in your browser to see your new website</li>
</ol>
<p>Note: If at any time you feel you made a mistake in editing, you can exit and <kbd>n</kbd> to not save.</p>
<h2 id="more">How to be l33t (from our friends over at <a href="http://tilde.club">tilde.club</a>)</h2>
<p>Now that you've made it this far, the community has been busy compiling additional resources for you to experiment with.</p>
<p>There are TONS of resources elsewhere on the internet. Use your favorite search engine to find out more.</p>
<ul>
<li>~pfhawkins // <a href="http://tilde.club/~pfhawkins/tipsntricks.html">Tips &amp; Tricks (a more complete listing)</a></li>
<li>~proclad // <a href="http://tilde.club/~procload/">More command line tricks (intermediate)</a></li>
<li>~jeffbonhag // <a href="http://tilde.club/~jeffbonhag/sshfs.txt">How to mount your tilde as a drive (intermediate)</a></li>
<li>~jonathan // <a href="http://tilde.club/~jonathan/screen/">How to use GNU Screen (intermediate to advanced)</a></li>
</ul>
</div>
</body>
</html>

3
gettingstarted/index.php Normal file
View File

@ -0,0 +1,3 @@
<?php
header("Location: /wiki/view.php?page=getting-started");
die();

View File

@ -44,6 +44,8 @@
<i class="fa fa-comment"></i> ~forum~</a>
<a class="btn btn-default" href="/irc/">
<i class="fa fa-comments-o"></i> ~irc~</a>
<a class="btn btn-default" href="/wiki/">
<i class="fa fa-book"></i> ~wiki~</a>
<br>
<hr>

View File

@ -1,21 +1,3 @@
<?php include __DIR__.'/../header.php'; ?>
<h1>tildeverse irc</h1>
<hr>
<p>hi tildizens!</p>
<p>there are a couple places that i'm trying to coordinate for tilde irc:</p>
<ul>
<li><a href="https://irc.tilde.team">irc.tilde.team</a></li>
</ul>
<p>additionally, i'm running a web client at <a href="https://irc.tilde.team">irc.tilde.team</a> (port 80/443)</p>
<p>connect to irc.tilde.team:6697 with ssl if you want to use your own client!</p>
<p>hit me up on any of these places (or any of the other places you can find on my <a href="/~ben/">tilde page</a>) if you have any suggestions!</p>
<?php include __DIR__.'/../footer.php'; ?>
<?php
header("Location: /wiki/view.php?page=irc");
die();

View File

@ -11,44 +11,66 @@ category:
Welcome
New to the command line and all this webby cowfoolery? You're in luck! Here's a basic HELLO WORLD tutorial.
Logging in
```
_______________________________________
/ WELCOME TO TILDE.TEAM A PLACE FOR WEB \
\ PAGES /
/ WELCOME TO TILDE.TEAM A PLACE FOR WEB \
\ PAGES /
---------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
```
* On a PC, you'll need to get an ssh client. PuTTY is a good one.
## Logging in
Linux
### PC (windows)
Open a terminal. Try ctrl + alt + t.
ssh your_username@tilde.team
Enter your password.
Mac
* On a PC, you'll need to get an ssh client. [PuTTY](http://www.putty.org/) is a good one.
- host: tilde.team
* another option is to use [WSL (windows subsystem for linux)](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
* or [git bash](https://git-scm.com) included with a standard git install
### Linux
* Open a terminal. Try ctrl + alt + t.
* `ssh your_username@tilde.team`
* Enter your password.
### Mac
* Browse to Applications/Utilities/Terminal and launch Terminal (or press cmd+space, start typing Terminal, and press return)
* `ssh your_username@tilde.team`
* Enter your password.
## Finding your index.html file
Browse to Applications/Utilities/Terminal and launch Terminal (or press cmd+space, start typing Terminal, and press return)
ssh your_username@tilde.team
Enter your password.
Finding your index.html file
There are some basic command line commands you'll want to Google and learn, but for this tutorial you only need a few:
`ls` = list files and folders in current directory
`cd` = change directories
`nano` = a command line text editor
* `ls` = list files and folders in current directory
* `cd` = change directories
* `nano` = a command line text editor
Type: `ls` to see where you are. You should see a directory called "public_html"
Type: `cd public_html` to move into that folder. (cd stands for change directory.)
Type: `ls` to see where you are. You should see your index.html file
Editing your index.html file
Type: `nano index.html` to open your index.html file and begin editing
Edit your file, willy nilly
When done editing, use `ctrl + x` to close the file
You'll be asked if you want to save; say y and to return to the command line
Refresh your tilde page in your browser to see your new website
Note: If at any time you feel you made a mistake in editing, you can exit and n to not save.
see the [advanced ssh key guide](/wiki/view.php?page=advanced-ssh) for more information and cool tips :)

View File

@ -7,7 +7,7 @@ require __DIR__.'/../vendor/autoload.php';
include __DIR__.'/../header.php';
?>
<a href="/wiki/"><h1>tilde.team wiki</h1></a>
<a href="/wiki/"><h1>&lt; tilde.team wiki</h1></a>
<hr>
<?php