Thank you everyone for downloading and trying Program-O. The v2 has had a major overhaul to the installation process, hopefully the little guide below will help new and old botmasters alike install the new bot as quickly as possible! If you have any comments about the process or any questions just leave as message in the comments below. Or head over the forum for more support.
Download Program-O from Github
Unzip the file and upload it to your webspace.
Create your database and user with FULL privileges for your user as it will need to be able to create tables. We will change this at a later stage.
Install Program-O by navigating to http://www.yoursite.com/yourbot/
You should now be presented with a form in which you should enter all the bot details into.
If this is the first time you have downloaded Program-O here are a few config pointers:
- HTML – for simple webpages
- JSON – for more fancier jqeury web pages and apps
- XML – for totally awesome third party apps
- General – This is the best option and showing useful information such as errors and updates to the conversation state
- General/SQL – This option supplies all the information from general debugging and also sql queries. This is useful if you are trying to workout why the bot is not returning the results you are expecting
- Everything – This shows everything, errors, sql, function information etc etc
- Show in Source – All debugging information will be written to eh webpage source code, which you will be able to view by right clicking the bots webpage, then pressing “view Source”, this will only work in HTML mode.
- File (default) – This is the best option as it creates a single file for each user who talks to the bot and overwrites it on each turn of the conversation.
- Display – This writes all information out the webpage itself. – Again this only works in HTML mode
- Email – This emails you a message containing all the debug information for each turn of any conversation. This is not recommended as basically you are going to get your inbox spammed with hundreds of messages
At this stage the form should be complete.
And all you have to do is press ‘Save’.
When prompted press ‘OK’ to complete installation.
Congratulations! You have installed Program-O.
Delete the ‘install’ directory from the server so that your configuration will not be accidentally or maliciously overwritten
You may wish to reduce the privileges of your DB user – SELECT, INSERT, UPDATE and DELETE should be sufficient
All you need to do now is log into the admin area and start adding your AIML files and creating your chatbot’s personality.