NodeWorldOfText: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) (Updated and rewrote article.) |
Dat Hack3r (talk | contribs) m (→Hosting an NWOT using Replit: Added link to Kkosty4ka's fork.) |
||
(One intermediate revision by the same user not shown) | |||
Line 39: | Line 39: | ||
== Hosting an NWOT using Replit == | == Hosting an NWOT using Replit == | ||
It used to be possible to host NWOT using {{wp|Replit|Replit's}} free [https://docs.replit.com/additional-resources/hosting-web-pages web hosting service]. However, Replit's [https://blog.replit.com/hosting-changes hosting changes] effectively discontinued all NWOTs hosted on their platform. | It used to be possible to host NWOT using {{wp|Replit|Replit's}} free [https://docs.replit.com/additional-resources/hosting-web-pages web hosting service]. This could be accomplished by [https://docs.replit.com/replit-workspace/using-git-on-replit/running-github-repositories-replit importing] [[KKosty4ka]]'s NodeWorldOfText [https://github.com/KKosty4ka/NodeWorldOfText/ fork] to Replit and running the [https://github.com/KKosty4ka/NodeWorldOfText/tree/for-repl-it <code>for-repl-it</code> branch], which would host the NWOT at <code><nowiki>https://[repl name].[user name].repl.co</nowiki></code>. However, Replit's [https://blog.replit.com/hosting-changes hosting changes] effectively discontinued all NWOTs hosted on their platform. | ||
=== List of NWOTs hosted using Replit === | === List of NWOTs hosted using Replit === |
Latest revision as of 10:12, 4 December 2024
NodeWorldOfText is the open source version of OWOT, which anyone can view, download, and contribute to by opening issues and pull requests. It allows users to host their own instance of Our World of Text called an NWOT.
Hosting an NWOT
This section is based on the README.md file of NodeWorldOfText, accessed in December 2024. |
Software requirements
- Node.js (>18.x.x) (https://nodejs.org/)
- Git (https://git-scm.com/)
- Not strictly necessary, but it's convenient for quickly downloading and updating your local repository.
Quickstart
- Clone the OWOT repository
git clone https://github.com/system2k/nodeworldoftext.git nwot
- Navigate to the directory
cd nwot
- Install the dependencies
npm install
- Run the server
node main.js
- Running the server for the first time, you'll be asked to configure the settings.
Created the settings file at [../nwotdata/settings.json]. You must configure the settings file and then start the server back up again. Full path of settings: [path to parent directory]/nwotdata/settings.json
- After configuring the settings, run the command again. Note that this will create an
nwotdata
directory on the same level as your repository.node main.js
- You will then be prompted to create a superuser account with this message:
You've just installed the server, which means you don't have any superusers defined. Would you like to create one now? (yes/no):
- After everything has been set up, your server will be live at this address:
Common issues
- If you're encountering issues with
nwot_error_logs.zip
, please delete the zip file and try again. - If you're receiving node-gyp errors while installing the modules via NPM, please ensure you've got some compiling tools installed on your system. If you have any further questions, feel free to ask on the Discord.
- If you're receiving an error saying
Cannot find module
, make sure you've installed the modules by runningnpm install
.
List of active NWOTs
Hosting an NWOT using Replit
It used to be possible to host NWOT using Replit's free web hosting service. This could be accomplished by importing KKosty4ka's NodeWorldOfText fork to Replit and running the for-repl-it
branch, which would host the NWOT at https://[repl name].[user name].repl.co
. However, Replit's hosting changes effectively discontinued all NWOTs hosted on their platform.
List of NWOTs hosted using Replit
Below is a list of now-defunct NWOTs that were hosted using Replit.