-
Notifications
You must be signed in to change notification settings - Fork 21
Installation
Thomas Ochman edited this page Oct 28, 2013
·
6 revisions
In order to get your site to work with OxwallMessenger you need to follow these steps:
- Copy the entire folder named
webservice
to the root of the folder where you installed Oxwall - Open the file named
config.inc.php
and make sure that all relevant information is properly filled in. You find all the settings you need in your main configuration (config.php
) file that is located inow_includes
-folder. Note! OxwallMessenger will only work if you have not altred the db-prefix during the original installation of Oxwall. Yourow_includes/config.php
MUST include the following code: ```define('OW_DB_PREFIX', 'ow_');```` - Open the Xcode project and edit the
Constants.m
file. Look for the line where BASE_URL is defined:static NSString *BASE_URL = @"http://scalo.se/webservice";
and change the URL to your domain but make sure that the/webservice
part remains intact. - Modify
om_sites.php
with your sitename and URL. Remove information about the sites you do not want your users to be able to connect to. Make sure that the array$sites
contains all the information it needs ($site1, $site2, ...
etc). - Compile the project and log in using your credentials. You should be ready to go!
- Make sure that you edit all the files you need in order for the app to reflect your brand.
- Make a build and submit to Apple AppStore using your developer account.
Folder permissions
Make sure that webservice
is accessible. Add this line to your .htaccess file: RewriteCond %{REQUEST_URI} !/webservice/
. Also, make sure that the permissions are set to 755
on the folder and to 644
on all the containing files.
###Changes
Remember that we make continuous changes to the app code and the web service code. Make sure to check for new releases and update your codebase.