Outdated: Window Server Installation

Information is current as of 4/12/08. A lot has changed since then.

This section describes how to run your own local mv3d server within your windows computer.

First, follow the instructions for installing the windows client side. This will allow you to test the server side once it is installed and configured locally.

1) Installation
Download and install the Nevow package. Use 7-zip to decompress this file
http://divmod.org/trac/attachment/wiki/SoftwareReleases/Nevow-0.9.31.tar.gz?format=raw

Copy the following file to your c:\mv3d-0_3\mv3d-0_3\mv3d\server\ folder
This is assuming you followed the client installation instructions.
http://dev.mv3d.com/~mike/mv3d/Example/ServerSide/SetupAssets.py

2) Configuration

You will need to edit the client.cfg file. This file is locate in the c:\mv3d-0_3\mv3d-0_3 folder
Open client.cfg and make the following 3 changes:

In the [Player] section change servers to localhost
servers=pb://localhost:1999/Player

In the [Asset] secion change the assetServices to localhost
assetServices=pb://localhost:1999/Asset

In the [PBClient]section change loginServices to localhost
loginServices=https://localhost:8080/service/

Save client.cfg with all these changes

3) Server Setup

In order to run the server locally,
open a command prompt windows and type:

c:\> CD c:\mv3d-0_3\mv3d-0_3

to go to this folder c:\mv3d-0_3\mv3d-0_3

Next, type:

c:\mv3d-0_3\mv3d-0_3>twistd.py -n mv3d -i -n 1 -t 3

This command will allow you to run the server locally.
The first time the server runs, it connects to the internet to download resources.
So, make sure you have internet access before running the command above
Check ServerCommandLineArgs for twistd line argument description.

Note
In order to close the server do a CTRL-C.

The server should be running at this point.

4) Client Setup
Now, run the client side.

Double click the RunClient.py located in the c:\mv3d-0_3\mv3d-0_3 folder

or

Open another command prompt windows and type:

c:\> CD c:\mv3d-0_3\mv3d-0_3

to go to this folder to c:\mv3d-0_3\mv3d-0_3

then type:

c:\mv3d-0_3\mv3d-0_3>RunClient.py

At this point the server and the client should be running within you computer.
Enjoy!