Difference between revisions of "Otserver"

From Open Transactions
Jump to navigation Jump to search
m (minor re-arrange)
(updated, lots of info was old)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
After you <code>make install</code>, the OT Server will be named <code>otserver</code> and most likely will be located in <code>/usr/local/bin</code>
+
After you <code>make install</code>, the OT Server will be named <code>opentxs-notary</code> and most likely will be located in <code>/usr/local/bin</code>
  
You should first copy the sample data from the sample data folder, which includes pre-created server and client data, allowing you to instantly get OT up and running without having to create anything. Just copy the sample data folders <code>server_data/*</code> and <code>client_data/*</code> into <code>~/.ot/server_data</code> and <code>~/.ot/client_data</code>
+
You can then probably run it simply by typing: <code>opentxs-notary</code>
 
 
You can then probably run it simply by typing: <code>otserver</code>
 
  
 +
I recommend finding some sample data to get it up and running at first, before you try to create your own server contract.
 
-----
 
-----
  
If you run it with blank data, it will walk you through the process of creating a fresh server. You will want to make use of the sample contracts in the sample-data folder for this process.
+
If you run it with blank data, it will walk you through the process of creating a fresh server. You will want to use the Moneychanger GUI as well, during this process.
  
 
OT creates the <code>~/.ot</code> folder, including the server's folder: <code>~/.ot/server_data</code> (That is where the otserver will normally look, by default, to load its data.)
 
OT creates the <code>~/.ot</code> folder, including the server's folder: <code>~/.ot/server_data</code> (That is where the otserver will normally look, by default, to load its data.)
Line 14: Line 13:
  
 
When you first start playing with OT, be sure to keep an eye on the server output while you are running your client, so you can see what is happening on the server side.
 
When you first start playing with OT, be sure to keep an eye on the server output while you are running your client, so you can see what is happening on the server side.
 
-----
 
 
See the <code>include/otserver/OTServer.h</code> and <code>src/otserver/OTServer.cpp</code> files for the bulk of the server code.
 
  
 
-----
 
-----

Latest revision as of 21:58, 8 July 2015

After you make install, the OT Server will be named opentxs-notary and most likely will be located in /usr/local/bin

You can then probably run it simply by typing: opentxs-notary

I recommend finding some sample data to get it up and running at first, before you try to create your own server contract.


If you run it with blank data, it will walk you through the process of creating a fresh server. You will want to use the Moneychanger GUI as well, during this process.

OT creates the ~/.ot folder, including the server's folder: ~/.ot/server_data (That is where the otserver will normally look, by default, to load its data.)

The main datafile is: ~/.ot/server_data/notaryServer.xml

When you first start playing with OT, be sure to keep an eye on the server output while you are running your client, so you can see what is happening on the server side.


See also: