Before we run our compiled PtokaX executable we need to do at least basic configuration.
In source is in directory cfg.example file Settings.pxt with PtokaX settings. You can edit this file with text editor.
Another way is PtokaX inbuild command line menu where is possible to do basic setup, complete setup and to add registered user.
This menu can be used for first time setup and to reconfigure PtokaX. Add reg user part can be used to add additional registered users.
You can run PtokaX menu with command: ./PtokaX -m
In menu option 1 will ask only few required things needed to run PtokaX. Max users, hub name, hub address, encoding for non-unicode characters.
In case when PtokaX is compiled with database support then database options will be asked too.
In menu option 2 will ask for all PtokaX settings.
In menu option 3 can be used to to add one or more registered users. User Nick, Password and Profile will be asked. It will give hint about available profiles.