Skip to content

Simplify steps for adding content to MIT website #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 5 additions & 18 deletions AthenaHowTo.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,11 @@ <h1>How to add content to an MIT website</h1>
<body>
<p>In case your username is not elm, replace elm in the following code
with your username.</p>
<h2> Step 1: ssh into Athena </h2>
<p>Open a terminal window, and type:</p>
<pre>ssh [email protected] </pre>
<p>Enter your password when prompted.</p>
<h2> Step 2: find path to your www folder </h2>
<p>In the terminal window where you sshed into athena, type:</p>
<pre>cd www </pre>
<pre>pwd </pre>
<p>Copy the filepath you see -- this is where you'll put the contents
of the website. For me it was: </p>
<pre>/afs/athena.mit.edu/user/e/l/elm/www</pre>
<h2> Step 3: copy content to the your www folder </h2>
<p>Navigate out of ssh by opening another terminal or typing:</p>
<pre>exit</pre>
<h2> Step 1: copy content to your www folder </h2>
<p>Let's say the file you want to add to www is called index.html, and
is in your Downloads folder, and your username is elm. Then type:</p>
<pre>scp ~/Downloads/index.html [email protected]:/afs/athena.mit.edu/user/e/l/elm/www/index.html</pre>
<h2> Step 4: check that it worked </h2>
<pre>scp ~/Downloads/index.html [email protected]:~/www/index.html</pre>
<h2> Step 2: check that it worked </h2>
You can access your website (assuming username is elm) at: <a href = http://web.mit.edu/elm/www/> http://web.mit.edu/elm/www/</a>
</Body>
</html>
</body>
</html>