dreamland_web
所属分类:JavaScript/JQuery
开发工具:HTML
文件大小:37579KB
下载次数:0
上传日期:2023-05-05 00:18:57
上 传 者:
sh-1993
说明: DreamLand MUD:静态网站页面生成器、搜索器应用程序、帮助生成器
(DreamLand MUD: static web site page generator, searcher app, help generator)
文件列表:
.drone.yml (1389, 2023-05-05)
INSTALL (2050, 2023-05-05)
LICENSE (35147, 2023-05-05)
help.js (0, 2023-05-05)
help.js\help.js (8691, 2023-05-05)
help.js\package-lock.json (12945, 2023-05-05)
help.js\package.json (301, 2023-05-05)
help.js\templates (0, 2023-05-05)
help.js\templates\foot.ejs (1722, 2023-05-05)
help.js\templates\footer.ejs (60, 2023-05-05)
help.js\templates\head.ejs (733, 2023-05-05)
help.js\templates\help-category.ejs (1050, 2023-05-05)
help.js\templates\help-index.ejs (2880, 2023-05-05)
help.js\templates\help-menu.ejs (4675, 2023-05-05)
help.js\templates\landing-clanskill.ejs (1274, 2023-05-05)
help.js\templates\landing-classskill.ejs (1592, 2023-05-05)
main.js (342, 2023-05-05)
package.json (313, 2023-05-05)
searcher.js (0, 2023-05-05)
searcher.js\package.json (740, 2023-05-05)
searcher.js\src (0, 2023-05-05)
searcher.js\src\app.js (4277, 2023-05-05)
static (0, 2023-05-05)
static\.htaccess (1682, 2023-05-05)
static\css (0, 2023-05-05)
static\css\fuzzycomplete.min.css (170, 2023-05-05)
static\css\help.css (1738, 2023-05-05)
static\css\news.css (1287, 2023-05-05)
static\css\style.css (24303, 2023-05-05)
static\css\terminal.css (2483, 2023-05-05)
static\downloads (0, 2023-05-05)
static\downloads\.htaccess (54, 2023-05-05)
static\downloads\csweb01.png (4830, 2023-05-05)
static\downloads\csweb02.png (22112, 2023-05-05)
... ...
# dreamland_web
DreamLand MUD: static web site pages and searcher app.
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
[![Deploy Status](https://drone.dreamland.rocks/api/badges/dreamland-mud/dreamland_web/status.svg)](https://drone.dreamland.rocks/dreamland-mud/dreamland_web)
## Local development
To start searcher app locally on http://localhost:8001, run
```bash
cd searcher.js
npm i
npm run start
```
To generate static HTML pages from templates, run:
```bash
cd website.js
npm i
npm run website /path/to/dreamland/runtime
```
To start simple web server that will serve static content, run these commands from the main `dreamland_web` folder:
```bash
npm i
npm run start
```
Website is now available on http://localhost:8000
## Prerequisites
You will need some source files for the searcher to work:
```
/tmp/db_armor.json
/tmp/db_weapon.json
/tmp/db_magic.json
/tmp/db_pets.json
```
These can be generated by running `searcher dump` command inside your local copy of the [DreamLand MUD server](https://github.com/dreamland-mud/dreamland_code/). Alternatively, you can request samples from the project admins.
You will also need some area files to generate Maps page of the site. You can grab them from the [DreamLand World repo](https://github.com/dreamland-mud/dreamland_world).
To generate News section, the following files are needed:
```
/tmp/news.xml
/tmp/story1.xml
/tmp/story2.xml
```
Again, either run `webdump news`, `webdump story` on your local server, or ask admins for samples.
近期下载者:
相关文件:
收藏者: