Compare commits
41 Commits
267447b172
...
1.0.7
Author | SHA1 | Date | |
---|---|---|---|
fa73ce8f58 | |||
24f624a673 | |||
ce18848bb0 | |||
37254883a4 | |||
722f32e0a9 | |||
d97b679f1e | |||
4bfa632dff | |||
0c30da7e6d | |||
2fcf3ad3a2 | |||
930c550385 | |||
ea31268ef5 | |||
c1b575f5a9 | |||
ad67e1831b | |||
7330851694 | |||
62829cecad | |||
afa3886de5 | |||
d066bed021 | |||
1cf9089e33 | |||
9aeb4b44b4 | |||
f3f6fd7be5 | |||
138fa27962 | |||
234992141c | |||
89d9610ba8 | |||
73cad693a1 | |||
acc4e3f324 | |||
7b5af1e979 | |||
6a633ec2eb | |||
67f15c17e6 | |||
3b5544f99f | |||
b57bcea176 | |||
dbd6856dce | |||
36f5753088 | |||
7909e8f91d | |||
063ffd6f34 | |||
1ac6174029 | |||
c3c1761c75 | |||
5de09c8789 | |||
f7f1b8b052 | |||
f93a0218a0 | |||
1225552189 | |||
756a5a9a8a |
6
.dockerignore
Normal file
6
.dockerignore
Normal file
@@ -0,0 +1,6 @@
|
||||
.git
|
||||
.gitignore
|
||||
.templates
|
||||
deploy.sh
|
||||
README.md
|
||||
test.sh
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1 @@
|
||||
*.swp
|
||||
/files
|
||||
|
54
.gitlab-ci.yml
Normal file
54
.gitlab-ci.yml
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
# This guy is awesome: https://dev.to/bzinoun/gitlab-ci-to-build-and-push-containers-to-registry-538a
|
||||
#
|
||||
|
||||
image: morlay/buildx:607a2ce
|
||||
variables:
|
||||
# DinD's vfs driver is pretty intensive; this is less so
|
||||
DOCKER_DRIVER: overlay2
|
||||
CI_HUB_USERNAME: rehashedsalt
|
||||
stages:
|
||||
- build
|
||||
# - test
|
||||
services:
|
||||
- docker:dind
|
||||
before_script:
|
||||
- echo -n "$CI_LOGIN_PASSWORD" | docker login -u "$CI_LOGIN_USERNAME" --password-stdin
|
||||
- docker version
|
||||
- docker info
|
||||
after_script:
|
||||
- docker logout hub.docker.com
|
||||
|
||||
# BUILD
|
||||
Build:
|
||||
stage: build
|
||||
script:
|
||||
- docker pull $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest || true
|
||||
- docker buildx create --use
|
||||
- >
|
||||
docker buildx build
|
||||
--pull
|
||||
--platform linux/amd64,linux/arm64
|
||||
--cache-from $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest
|
||||
--tag $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
|
||||
--tag $CI_HUB_USERNAME/$CI_PROJECT_NAME:bleeding
|
||||
--push
|
||||
.
|
||||
- docker images
|
||||
Build_Tag:
|
||||
stage: build
|
||||
only:
|
||||
- tags
|
||||
script:
|
||||
- docker pull $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest || true
|
||||
- docker buildx create --use
|
||||
- >
|
||||
docker buildx build
|
||||
--pull
|
||||
--platform linux/amd64,linux/arm64
|
||||
--cache-from $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest
|
||||
--tag $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
|
||||
--tag $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest
|
||||
--push
|
||||
.
|
||||
- docker images
|
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM php:7-apache
|
||||
COPY ./ /var/www/html/
|
||||
EXPOSE 80
|
10
README.md
10
README.md
@@ -6,6 +6,16 @@ A website for me and my friends.
|
||||
|
||||
This repo is a ready-to-go webroot. `git clone` and configure Apache. `git pull` for updates.
|
||||
|
||||
## Docker
|
||||
|
||||
You can pull the image from `rehashedsalt/9iron`. The `:latest` tag will always have the latest git tag applied and the `:bleeding` tag will always be the latest *commit*.
|
||||
|
||||
The following directories contain stateful content that you will be interested in keeping in a PV:
|
||||
|
||||
* `/var/www/html/files`
|
||||
|
||||
The image listens on `:80` and does not terminate SSL; proxy connections if you're interested in that.
|
||||
|
||||
## Random Subtitles
|
||||
|
||||
I've got random subtitles generated at page load. Hit me up (i.e. open an issue) if you've got dumb ideas for some.
|
||||
|
@@ -11,7 +11,7 @@
|
||||
<h1>About 9iron</h1>
|
||||
<p>9iron is a website spun up by yours truly to unify the services I host and inevitably rope my friends into. It also aggregates documentation about the various games we play.</p>
|
||||
<h1>About Me</h1>
|
||||
<p>I am Salt. I'm a sysadmin and I play video games. I try to be most active on Matrix, but inevitably have to use Discord all the damn time. You can also reach me very effectively through the Fediverse and email.</p>
|
||||
<p>I am Salt. I'm a sysadmin and I play video games. I'm regrettably most active on Discord because there are no good alternatives (that my friends will join). You can also reach me very effectively through the Fediverse and email.</p>
|
||||
<p>Hit me up if you wanna play something or if shit breaks.</p>
|
||||
<dl>
|
||||
<dt>Fedi:</dt>
|
||||
|
10
deploy.sh
10
deploy.sh
@@ -1,10 +0,0 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# post-deploy.sh
|
||||
# Copyright (C) 2020 Vintage Salt <rehashedsalt@cock.li>
|
||||
#
|
||||
# Distributed under terms of the MIT license.
|
||||
#
|
||||
|
||||
ssh -t salt@www.9iron.club sudo git -C /var/www/www.9iron.club pull
|
||||
|
0
files/.keep
Normal file
0
files/.keep
Normal file
@@ -5,22 +5,16 @@
|
||||
<link href="/styles/buttons.css" type="text/css" rel="stylesheet" />
|
||||
<link href="/minecraft/styles/styles.css" type="text/css" rel="stylesheet" />
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<title>9iron</title>
|
||||
<title>9iron - Modded Minecraft</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-header.php';?>
|
||||
<div class="content">
|
||||
<div class="section">
|
||||
<h1>Modded Minecraft</h1>
|
||||
<p>It's been a go-to of ours for a while. Ongoing and historical modpacks are listed here for your convenience and participation.</p>
|
||||
<p>At-a-glance information is provided here for the various packs we play.</p>
|
||||
<div class="iconbuttoncontainer">
|
||||
<a href="/minecraft/setup" class="iconbutton">
|
||||
<i class="fa fa-play"></i>
|
||||
<h1>Setup</h1>
|
||||
<p>Set up an entire modded Minecraft environment</p>
|
||||
</a>
|
||||
</div>
|
||||
<a href="/minecraft/setup" class="startbutton">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
<p>Confused? Click here to get started</p>
|
||||
</a>
|
||||
</div>
|
||||
<?php
|
||||
# Define a pack card generator function
|
||||
@@ -72,14 +66,14 @@ if (!empty($packs)) {
|
||||
# We have a valid current pack, remove it from the list and print it upfront
|
||||
$currentpack = readlink("packs/current");
|
||||
$packs = array_diff($packs, ["$currentpack", "current"]);
|
||||
echo '<h1>Current Modpack</h1>';
|
||||
echo '<div class="currentcontainer"><h1>Current Modpack</h1>';
|
||||
echo_pack($currentpack);
|
||||
# If there's a server IP name along with that, print that out too
|
||||
if (file_exists("packs/currentip")) {
|
||||
$ip = file_get_contents("packs/currentip");
|
||||
echo "<p><code class=\"bigcode\">$ip</code></p>";
|
||||
}
|
||||
echo '</div><div class="section">';
|
||||
echo '</div></div><div class="section">';
|
||||
}
|
||||
# Sort the list of remaining packs
|
||||
sort($packs);
|
||||
|
@@ -1,3 +1,3 @@
|
||||
<h2>The Magic Pack</h2>
|
||||
<p>1.7.10, Forge 1614</p>
|
||||
<p>A very, <i>very</i> well-run modpack with a ton of magic content. Includes Thaumcraft, Blood Magic, Botania, Witchery, Ars, and a couple others.</p>
|
||||
<p>A very, <i>very</i> well-worn modpack with a ton of magic content. Includes Thaumcraft, Blood Magic, Botania, Witchery, Ars, and a couple others.</p>
|
||||
|
@@ -1 +1 @@
|
||||
1.7.10-magicpack
|
||||
null
|
@@ -2,37 +2,36 @@
|
||||
<html>
|
||||
<head>
|
||||
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-meta.php';?>
|
||||
<link href="/minecraft/styles/styles.css" type="text/css" rel="stylesheet" />
|
||||
<title>9iron - Modded Minecraft Setup</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-header.php';?>
|
||||
<div class="content">
|
||||
<div class="section">
|
||||
<a href="/minecraft" class="startbutton">
|
||||
<i class="fa fa-arrow-left"></i>
|
||||
<p>Return to modpacks</p>
|
||||
</a>
|
||||
<h1>Setting Up Modded Minecraft</h1>
|
||||
<p>This guide will set you up with the following:</p>
|
||||
<ul>
|
||||
<li>Java, because that's <em>still</em> a pain in the dick to set up</li>
|
||||
<li>A new Minecraft game launcher to help organize modpacks</li>
|
||||
<li>Whatever modpack we're playing</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="java">
|
||||
<h1>1. Installing Java</h1>
|
||||
<div class="subcontainer" id="java">
|
||||
<h2>1. Installing Java</h2>
|
||||
<p>Minecraft depends on Java. It's important that you have the latest 64-bit edition of Java installed.</p>
|
||||
<ol>
|
||||
<li>Download <a href="https://sdlc-esd.oracle.com/ESD6/JSCDL/jdk/8u251-b08/3d5a2bb8f8d4428bbe94aed7ec7ae784/jre-8u251-windows-x64.exe?GroupName=JSC&FilePath=/ESD6/JSCDL/jdk/8u251-b08/3d5a2bb8f8d4428bbe94aed7ec7ae784/jre-8u251-windows-x64.exe&BHost=javadl.sun.com&File=jre-8u251-windows-x64.exe&AuthParam=1593609737_aee69d42e03369a5aed61477a858b110&ext=.exe">the 64-bit edition of Java 8</a></li>
|
||||
<li>Run it</li>
|
||||
<li>You're done</li>
|
||||
<li>Go to <a href="https://www.java.com/en/download/manual.jsp">Java Downloads</a></li>
|
||||
<li>Download and run the "Windows Offline (64-bit)" option</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="section" id="multimc">
|
||||
<h1>2. Installing MultiMC</h1>
|
||||
<div class="subcontainer" id="multimc">
|
||||
<h2>2. Installing MultiMC</h2>
|
||||
<p>MultiMC is the launcher that we use to organize our modpacks. It has a number of features to make pack installation easier.</p>
|
||||
<ol>
|
||||
<li>Download <a href="https://multimc.org/#Download">MultiMC</a></li>
|
||||
<li>Extract the zip file somewhere, like your desktop or Documents</li>
|
||||
<li>Extract the zip file somewhere, like your desktop or Documents folder</li>
|
||||
<li>Run <code>multimc.exe</code></li>
|
||||
</ol>
|
||||
<p>MultiMC will then run you through basic setup. You can accept the defaults, but change the following:</p>
|
||||
<p>MultiMC will then run you through basic setup. You can accept the defaults, but will probably want to change the following:</p>
|
||||
<ul>
|
||||
<li>On the page where it asks you to set up Java, set these values:</li>
|
||||
<ul>
|
||||
@@ -42,28 +41,32 @@
|
||||
</ul>
|
||||
<p>After that, it'll drop you to the main screen and you can progress to the next step.</p>
|
||||
</div>
|
||||
<div class="section" id="pack">
|
||||
<h1>3. Installing a Modpack</h1>
|
||||
<p>Packs on the server, as of the time of writing this document, will from now on be provided in a format that's much easier to use with MultiMC. If, for whatever reason, you have to install one that <em>isn't</em>, flag down a moderator and have them show you. It's honestly a pretty involved process.</p>
|
||||
<div class="subcontainer" id="pack">
|
||||
<h2>3. Installing a Modpack</h2>
|
||||
<p>All modpacks here are installable through MultiMC.</p>
|
||||
<ol>
|
||||
<li>Download the modpack you want to play</li>
|
||||
<li>Open MultiMC</li>
|
||||
<li>Hit the "Add Instance" button in the upper-left</li>
|
||||
<li>Pick the option on the left called "Import from Zip"</li>
|
||||
<li>Copy the pack download link from the previous page and stick it in the URL</li>
|
||||
<li>Browse for the zip you just downloaded</li>
|
||||
<li>Click OK</li>
|
||||
</ol>
|
||||
<p>This will set you up with a nice, shiny new instance with all the mods ready to go. Double-click it to launch it.</p>
|
||||
<p>If MultiMC prompts for it, be sure to set up your Minecraft account.</p>
|
||||
</div>
|
||||
<div class="section" id="joining">
|
||||
<h1>4. Joining a Server</h1>
|
||||
<p>This one's pretty easy, thankfully</p>
|
||||
<div class="subcontainer" id="joining">
|
||||
<h2>4. Joining the Server</h2>
|
||||
<p>Now the last thing we need to do is connect you to the server.</p>
|
||||
<ol>
|
||||
<li>Launch the game by double-clicking the modpack icon</li>
|
||||
<li>Copy the server URL (something like <code>modpack.mc.9iron.club</code>)</li>
|
||||
<li>Open the game, go to Multiplayer, and click "Add Server"</li>
|
||||
<li>In the game, go to "Multiplayer", and click "Add Server"</li>
|
||||
<li>Stick whatever name you want in the name field and paste the server URL in the "IP Address" field</li>
|
||||
<li>Double-click it to join</li>
|
||||
</ol>
|
||||
<p>You're looking for the huge, can't-miss-it serif font with the gray background:</p>
|
||||
<code class="bigcode">serverip.blah.blah</code>
|
||||
</div>
|
||||
</div>
|
||||
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-footer.php';?>
|
||||
|
@@ -5,13 +5,44 @@
|
||||
* Distributed under terms of the MIT license.
|
||||
*/
|
||||
|
||||
a.startbutton {
|
||||
background: var(--greenlink);
|
||||
border-radius: 8px;
|
||||
box-shadow: 5px 5px var(--shadow);
|
||||
color: var(--background);
|
||||
display: block;
|
||||
font-size: 140%;
|
||||
padding: 1em;
|
||||
}
|
||||
a.startbutton:hover {
|
||||
background: var(--greenlink-hover);
|
||||
}
|
||||
a.startbutton i {
|
||||
float: right;
|
||||
vertical-align: middle;
|
||||
}
|
||||
a.startbutton p {
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
code.bigcode {
|
||||
background: var(--background);
|
||||
border-radius: 8px;
|
||||
display: block;
|
||||
font-size: 400%;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
padding: 0.5em;
|
||||
}
|
||||
div.currentcontainer {
|
||||
border: 4px solid var(--line);
|
||||
border-radius: 8px;
|
||||
box-shadow: 5px 5px var(--shadow);
|
||||
margin: 1em 0;
|
||||
padding: 1em;
|
||||
}
|
||||
div.packcontainer {
|
||||
display: grid;
|
||||
grid-gap: 1em;
|
||||
|
@@ -5,18 +5,3 @@
|
||||
<link href="/styles/styles.css" type="text/css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
|
||||
<link href="/favicon.ico" rel="shortcut icon" />
|
||||
<link rel="alternate" href="/feed" title="9iron RSS Feed" type="application/rss+xml" />
|
||||
<!-- No FOUC -->
|
||||
<style type="text/css">
|
||||
.no-fouc {display: none;}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
document.documentElement.classname = 'no-fouc';
|
||||
window.addEventListener("load", function(event) {
|
||||
// No flash of unstyled content
|
||||
nf = document.getElementsByClassName('no-fouc');
|
||||
for (i = 0, len = nf.length; i < len; i++) {
|
||||
nf[i].removeClass('no-fouc');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
@@ -86,7 +86,6 @@
|
||||
"Lain in a bear suit",
|
||||
"Let's get this out onto a tray. Nice. Mmkay.",
|
||||
"This space intentionally left blank",
|
||||
"",
|
||||
"Banned in Australia",
|
||||
"Banned in Australia(?)",
|
||||
"I want a PSP again",
|
||||
@@ -111,6 +110,8 @@
|
||||
// - Me, irritating Sam
|
||||
"\"My heart runs Linux\"",
|
||||
// - Me, context forgotten
|
||||
"\"Brett has Mrs. Chapman nipples\"",
|
||||
// - Me
|
||||
"\"I suck a lot of dick, get over here\"",
|
||||
// - Brett
|
||||
"\"This was worth sucking dick\"",
|
||||
@@ -123,8 +124,12 @@
|
||||
// - Brett
|
||||
"\"Be grody on my back. Wait-\"",
|
||||
// - Brett
|
||||
"\"Let's get this cock onto a tray!\"",
|
||||
// - Brett
|
||||
"\"This is Hell, they are all prostitutes.\"",
|
||||
// - Jordyn
|
||||
"\"Isn't an asshole like a brass instrument?\"",
|
||||
// - Jordyn
|
||||
"\"Sir, this is an M32 grenade launcher\"",
|
||||
// - Jacob https://www.youtube.com/watch?v=DJRkFLFnv3c
|
||||
"\"OHNO!\"",
|
||||
@@ -161,8 +166,14 @@
|
||||
// - Jacob, after I said he's my little pogchamp
|
||||
"\"They're children you thirsty whores\"",
|
||||
// - Sam
|
||||
"\"Imagine \'Blades of Glory\' but they fuck\"",
|
||||
"\"Pichu is illegal\"",
|
||||
// - Sam
|
||||
"\"DEDEDE FUCKS\"",
|
||||
// - Sam
|
||||
"\"Imagine 'Blades of Glory' but they fuck\"",
|
||||
// - Also Sam
|
||||
"\"There's no D in BDSM\"",
|
||||
// - Rachael
|
||||
"God dammit, Sam",
|
||||
"God dammit, Jacob",
|
||||
"God dammit",
|
||||
@@ -198,6 +209,7 @@
|
||||
"No backing database edition",
|
||||
"Motherfucking website edition",
|
||||
"Licensed under MIT edition",
|
||||
"Absolutely no scripts edition",
|
||||
"Now SFW edition",
|
||||
"NSFW edition?",
|
||||
"NSFW edition"
|
||||
|
@@ -23,7 +23,7 @@
|
||||
<h4>desu.ltd</h4>
|
||||
<a href="https://desu.ltd">Index</a>
|
||||
<a href="https://git.desu.ltd">Gitea</a>
|
||||
<a href="https://app.netdata.cloud">Netdata</a>
|
||||
<a href="http://local.desu.ltd">Local</a>
|
||||
</div>
|
||||
<div class="spsubsection">
|
||||
<h4>9iron</h4>
|
||||
|
@@ -10,10 +10,12 @@
|
||||
:root {
|
||||
--background-bright: #fdfcfa;
|
||||
--background: #ecebe9;
|
||||
--line: #d6d5d3;
|
||||
--line: rgba(0,0,0,0.1);
|
||||
--greenlink: #327117;
|
||||
--greenlink-hover: #47b625;
|
||||
--link: #286a9d;
|
||||
--link-hover: #3ea5f3;
|
||||
--shadow: 8px -5px #d6d5d3;
|
||||
--shadow: 8px -5px rgba(0,0,0,0.1);
|
||||
--text: #414040;
|
||||
--text-code: #a7674e;
|
||||
}
|
||||
|
Reference in New Issue
Block a user