mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-04 17:01:33 +02:00
Gopher server revamp!
* gophermap support * More generic and flexible server
This commit is contained in:
parent
228cd79989
commit
f7e4b57763
8 changed files with 98 additions and 29 deletions
|
@ -242,8 +242,8 @@
|
|||
port: XXXXX
|
||||
enabled: false
|
||||
|
||||
// bannerFile path in misc/ by default. Full paths allowed.
|
||||
bannerFile: XXXXX
|
||||
// The root directory to serve gophermaps and other content
|
||||
staticRoot: XXXXX
|
||||
|
||||
//
|
||||
// The Gopher Content Server can export message base
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
_____________________ _____ ____________________ __________\_ /
|
||||
\__ ____/\_ ____ \ /____/ / _____ __ \ / ______/ // /___jp!
|
||||
// __|___// | \// |// | \// | | \// \ /___ /_____
|
||||
/____ _____| __________ ___|__| ____| \ / _____ \
|
||||
---- \______\ -- |______\ ------ /______/ ---- |______\ - |______\ /__/ // ___/
|
||||
/__ _\
|
||||
<*> ENiGMA½ // HTTPS://GITHUB.COM/NUSKOOLER/ENIGMA-BBS <*> /__/
|
||||
|
||||
-------------------------------------------------------------------------------
|
12
misc/gophermap
Normal file
12
misc/gophermap
Normal file
|
@ -0,0 +1,12 @@
|
|||
i_____________________ _____ ____________________ __________\_ /
|
||||
i\__ ____/\_ ____ \ /____/ / _____ __ \ / ______/ // /___jp!
|
||||
i// __|___// | \// |// | \// | | \// \ /___ /_____
|
||||
i/____ _____| __________ ___|__| ____| \ / _____ \
|
||||
i---- \______\ -- |______\ ------ /______/ ---- |______\ - |______\ /__/ // ___/
|
||||
i /__ _\
|
||||
i <*> ENiGMA½ // HTTPS://GITHUB.COM/NUSKOOLER/ENIGMA-BBS <*> /__/
|
||||
i
|
||||
i-------------------------------------------------------------------------------
|
||||
i
|
||||
1Public Message Area /msgarea {publicHostname} {publicPort}
|
||||
.
|
|
@ -146,6 +146,12 @@ install_node_packages() {
|
|||
fi
|
||||
}
|
||||
|
||||
copy_template_files() {
|
||||
if [[ ! -f "./gopher/gophermap" ]]; then
|
||||
cp "./misc/gophermap" "./gopher/gophermap"
|
||||
fi
|
||||
}
|
||||
|
||||
enigma_footer() {
|
||||
log "ENiGMA½ installation complete!"
|
||||
echo -e "\e[1;33m"
|
||||
|
@ -189,6 +195,7 @@ install_nvm
|
|||
configure_nvm
|
||||
download_enigma_source
|
||||
install_node_packages
|
||||
copy_template_files
|
||||
enigma_footer
|
||||
|
||||
} # this ensures the entire script is downloaded before execution
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue