WebSequenceDiagrams uses a built-in web service that will not conflict with any other servers running on your system. It installs the same way as you would install other software on your system. On Windows, this involves running the installer program. On Linux, double-click the .deb or .rpm file that has been given to you, and enter your administrative password.
After installation, you will have to enter your product key that was emailed to you. Access the web site by going to http://localhost:1086. If you are accessing it from another computer, use the server's name instead of localhost.
When there is no product key installed, the server will prompt for one.
If you have changed product keys for some reason, then you can enter a new one by going to the special url http://localhost:1086/?license=new. This will force the web application to prompt for a new product key, even though it already has one.
C:\Program
Files (x86)\WebSequenceDiagrams
. On Linux systems, it is
found in /etc/websequencediagrams/wsd.conf
Here is the contents of the file on a Linux system.
ServerPort=1086 ServerBindAddress=0.0.0.0 KeyFile= CertFile=
debug.log
. When this file gets too large, it is
renamed to debug.log.old
and a new one is started. If
you are having problems with your installation, you can check the
contents of this file to see what is happening, or send it to
support@websequencediagrams.com
/var/lib/websequencediagrams/wsd.db
. On Windows, it is
in c:\Documents And
Settings\<username>\ApplicationData\websequencediagrams\wsd.db
.
To avoid accidental data loss, this file is never removed if you uninstall
WebSequenceDiagrams.
If you store diagrams on the server, the server places them in this file. You should backup the file regularly to avoid data loss. To safely backup the database file while websequencediagrams is running, execute the wsdserver program with the --backup option.
wsdserver --backup mybackupfile.db
In verion 17, a restore option was added. To restore the database from a backup, run use the --restore option. It is not necessary to stop the service before running this command. On Linux systems, it is necessary to run this command as the root user.
wsdserver --restore mybackupfile.db
To avoid data loss, prior to restoring, the existing datase will be copied to a file in the current folder of the form wsd.backup.DATE.db
Prior to version 17, to restore, you should stop the service, locate the "wsd.db" file on your system, and replace it with the backup file.
admin
and the default password of
admin
. After logging in, the administrator may click
on the Admin button to see list of all users. From here, he or she
may reset an individual user's password.
The administrative password can be changed from the web user interface in the usual way. However, if the administrator forgets his or her password, it may be reset from the command line.
On linux, run this command to reset the administrative password back to "admin". The command must be run as the root user, so you will have to enter the administrators password for the linux system first.
sudo wsdserver --reset-admin
On windows, the command is:
c:\Program Files\WebSequenceDiagrams Server Edition 11\wsdserver --reset-admin