mirror of
https://github.com/alee14-projects/website.git
synced 2025-01-22 16:06:07 -05:00
Tweaking and changing README
This commit is contained in:
parent
4f82b9ffe4
commit
557e496d3c
4 changed files with 26 additions and 10 deletions
|
@ -1,2 +1,6 @@
|
|||
# Alee Production Website
|
||||
A rewrite of the old aleecorp.github.io website
|
||||
The official website for Alee Productions.
|
||||
|
||||
Written in Express.JS, EJS and MDBootstrap
|
||||
|
||||
Licensed with GPL-3.0
|
19
app.js
19
app.js
|
@ -42,8 +42,19 @@ const rl = readline.createInterface({
|
|||
output: process.stdout
|
||||
});
|
||||
|
||||
function rlHelp() {
|
||||
console.log("---------HELP-------");
|
||||
console.log("help - Displays help");
|
||||
console.log("clear - Clears the console");
|
||||
console.log("exit - Exits Application");
|
||||
console.log("--------------------");
|
||||
}
|
||||
|
||||
rl.on("line", (input) => {
|
||||
switch (input) {
|
||||
case "help":
|
||||
rlHelp()
|
||||
break;
|
||||
case "clear":
|
||||
console.clear();
|
||||
break;
|
||||
|
@ -56,7 +67,7 @@ rl.on("line", (input) => {
|
|||
exitWebsite();
|
||||
break;
|
||||
default:
|
||||
console.log("[X] Error: Command not found. Use clear or exit.");
|
||||
console.log("[X] Error: Command not found. Type help.");
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
@ -68,7 +79,7 @@ app.set('view engine', 'ejs');
|
|||
app.set("views", path.join(__dirname, "views"));
|
||||
app.use(express.static(path.join(__dirname, "public")));
|
||||
|
||||
app.use(logger)
|
||||
app.use(logger);
|
||||
|
||||
app.use("/", require("./routes/index"));
|
||||
app.use("/projects", require("./routes/projects"));
|
||||
|
@ -81,6 +92,6 @@ app.use((req, res) => {
|
|||
});
|
||||
|
||||
app.listen(port, () => {
|
||||
//Hook.success("Alee Productions Website","Website has been loaded!")
|
||||
console.log(`[>] Website listening on port ${port}!`)
|
||||
//Hook.success("Alee Productions Website","Website has been loaded!");
|
||||
console.log(`[>] Website listening on port ${port}!`);
|
||||
});
|
|
@ -32,7 +32,7 @@
|
|||
<h1>Team</h1>
|
||||
<div class="card text-white success-color-dark mb-3" style="max-width: 20rem;">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Community Team</h5>
|
||||
<h5 class="card-title">Community Team (Discord)</h5>
|
||||
<p class="card-text text-white">
|
||||
<ul>
|
||||
<li>Travis#1777 (Admin)</li>
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
<footer class="page-footer fixed-bottom font-small green">
|
||||
<div class="footer-copyright text-center py-3">© Copyright 2016-2019, Alee Productions. Powered by ExpressJS and EJS.</div>
|
||||
</footer>
|
||||
<!-- JQuery -->
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
||||
<!-- Bootstrap tooltips -->
|
||||
|
@ -9,4 +6,8 @@
|
|||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js">
|
||||
</script>
|
||||
<!-- MDB core JavaScript -->
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.8.7/js/mdb.min.js"></script>
|
||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.8.7/js/mdb.min.js"></script>
|
||||
|
||||
<footer class="page-footer fixed-bottom font-small green">
|
||||
<div class="footer-copyright text-center py-3">© Copyright 2016-2019, Alee Productions. Powered by ExpressJS, EJS and Material Design Bootstrap.</div>
|
||||
</footer>
|
Loading…
Reference in a new issue