Download Cyclos 4 PRO Documentation

Transcript
Table of Contents
1. Installation & maintenance .................................................................................................... 1
1.1. Installation steps .......................................................................................................... 1
System requirements .................................................................................................. 1
Install Java .................................................................................................................... 1
Install PostgreSQL (database) ..................................................................................... 2
Install Tomcat (web server) ........................................................................................ 3
Install Cyclos ................................................................................................................ 4
Startup Cyclos .............................................................................................................. 5
Problem solving ........................................................................................................... 5
1.2. Adjustments (optional) ................................................................................................ 5
Enable SSL/HTTPS ........................................................................................................ 5
Adjust Tomcat/Java memory ...................................................................................... 6
Clustering ..................................................................................................................... 7
1.3. Maintenance ................................................................................................................. 7
Backup .......................................................................................................................... 7
Restore .......................................................................................................................... 7
2. Web services ............................................................................................................................ 8
2.1. Introduction .................................................................................................................. 8
Authentication in web services .................................................................................. 8
2.2. Java clients .................................................................................................................... 9
Dependencies .............................................................................................................. 9
Using services from a 3rd party Java application ................................................... 10
Examples .................................................................................................................... 10
Configure Cyclos ................................................................................................ 10
Search users ...................................................................................................... 11
Search advertisements ...................................................................................... 11
Register user ...................................................................................................... 12
Edit user profile ................................................................................................. 14
Login user .......................................................................................................... 15
Get account information .................................................................................. 17
Perform payment .............................................................................................. 18
2.3. PHP clients .................................................................................................................. 20
Dependencies ............................................................................................................ 21
Using services from a 3rd party PHP application ................................................... 21
Examples .................................................................................................................... 21
Configuration ..................................................................................................... 21
Search users ...................................................................................................... 22
Search advertisements ...................................................................................... 22
Login user .......................................................................................................... 22
Perform payment from system to user .......................................................... 23
Cyclos 4 PRO Documentation
ii