From 1842dc5d0fdd4800214ef49d08b12d8c9d044b72 Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Fri, 19 Jan 2018 02:10:55 +0530 Subject: [PATCH] Prettified fancy text on launching server --- .gitignore | 1 - server.js | 40 ++++++++++++++++++++-------------------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index dba6229..0d58a86 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules php public -sqlite plugins/*/ \ No newline at end of file diff --git a/server.js b/server.js index 04a9ac6..a8bfdff 100644 --- a/server.js +++ b/server.js @@ -10,26 +10,26 @@ const plugins = require('./plugins/main') const fancyIntro = chalk.yellow(` ----------------------------------- -| .---. | -| /. ./| | -| .--'. ' ; | -| /__./ \\ : | | -| .--'. ' \\' . | -| /___/ \\ | ' ' | -| ; \\ \\; : | -| \\ ; | | -| . \\ .\\ ; | -| \\ \\ ' \\ | | -| : ' |--" | -| \\ \\ ; | -| '---" | ----------------------------------- - WordBox - The modern WordPress environment -----------------------------------`) + chalk.green(` - Server running at port ${config.port} ----------------------------------- ++---------------------------------+ +| .---. | +| /. ./| | +| .--'. ' ; | +| /__./ \\ : | | +| .--'. ' \\' . | +| /___/ \\ | ' ' | +| ; \\ \\; : | +| \\ ; | | +| . \\ .\\ ; | +| \\ \\ ' \\ | | +| : ' |--" | +| \\ \\ ; | +| '---" | ++---------------------------------+ + WordBox + The modern WP & PHP environment ++---------------------------------+`) + chalk.green(` + Server running at port ${config.port} ++---------------------------------+ `) const app = express()