forked from mifki/df-webfort
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathINSTALLING.txt
68 lines (44 loc) · 2.32 KB
/
INSTALLING.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
## INSTALLING ##
### FROM BINARY ###
If you recieved your copy of Webfort as a Windows binary, this is the procedure
to follow.
1. Installing the plugin.
One half of Webfort is the dfhack plugin that gets added directly to your Dwarf
Fortress install. Because Web Fortress requires that many of your settings and
keybindings get changed, it's recommended you install it in a new copy of Dwarf
Fortress. You will need
* Dwarf Fortress 0.34.11 (the last DF2012 release)
http://www.bay12games.com/dwarves/older_versions.html
* DFHack 0.34.11-r5
http://dffd.wimbli.com/file.php?id=8682
Then, just extract this zip file over your DF install.
After that, you can test that Web Fortress is correctly installed by running
Dwarf Fortress. In the DFHack Console, you should see a line that says:
[WEBFORT] [2014-11-10 06:11:06] [application] Web Fortress started on port 1234
If you see something like that, then Web Fortress has been properly installed.
2. Running the frontend
To connect to your fortress, users will need to connect to a webserver serving
the files located in the web/ folder. You can either
* Use somebody else's hosted version of these files:
http://alloyed.me/webfort/v2.0/webfort.html?host=<YOUR IP ADDRESS>
Just replace <YOUR IP ADDRESS> with your actual IP. It can be found by typing
"What is my IP Address" into Google.
* Host them yourself
Any server that can host static files will do. Mongoose is easy to use.
http://cesanta.com/mongoose.shtml
Just move the mongoose.exe into your web/ directory and run it. with Moongoose,
the URL to connect to your webfort will be:
http://<YOUR IP ADDRESS>:8080/webfort.html
3. Port Forwarding
For external users to connect to your webfort, they will need to access port
1234, and port 8080 if you installed Mongoose. This is typically done via port
forwarding. If you haven't done this before, see
http://portforward.com/
for a list of guides for common routers.
### From Source ###
Installing from the github source is less well implemented. Following the
COMPILING.md instructions, you should be able to install using the normal
DfHack install process. Then, afterward, you will need to manually copy
everything over from the server/dist folder into your DF root directory, and
move everything in static/ to <DF root>/web/. Everything else should be
identical to the binary install.