OSShare v1 Install Instructions:
--------------------------------
Step 1:-
Default :
upload all the folders to your website,
Advanced:
you can just upload the app/webroot folder to your website and keep the cakephp folders behind the document root and configure the routes,environment accordingly, this is suggested only for the users with cakephp knowledge
step 2:-
Create a mysql database on your host control panel
and make username/password to access this database
step 3:-
setup write permissions for your WebUser to access the directores
app/webroot/files
app/tmp
also their subdirectories
in linux chmod 0777 , in windows just set the IISUSER to write these dirs
and files
app/config/database.php
step 4:-
just browse your site on the browser
domain.com/video/index.php
or domain.com/index.php if you have installed the site on the root
this will take you to the installer
follow the installer that will help you to install
step 5:-
login to your site using the admin logins that you created on installation
and then setup atleast a Category first.
settings->categories
you can setup additional slave servers there as well
Additional Info for Advanced Intallers:
If you want urls to look without index.php and optmized for seo , you have to
Rename the HTACCESS files from / , app/ , app/webroot/ to .htaccess for mod_rewrite related configurations
and then edit app/config/core.php
and edit the linke 59 to look like
//Configure::write('App.baseUrl', env('SCRIPT_NAME'));
you have to comment that line by adding // before it , if its not commented already
If you dont want this kind of urls , for the reasons like your webserver doesnt support mod_rewrite, you can Just delete the .htaccess files and
edit app/config/core.php
and edit the linke 59 to look like
Configure::write('App.baseUrl', env('SCRIPT_NAME'));
you have to uncomment that line by removing // before it
then remove the .htaccess files from / , app/ , app/webroot/
For skining ,take a look at existing skins at
app/views/layouts/[skinname]
you can make a new skin by copying over a old skin and placing it into
app/views/layouts , then applying the new design
PHP settings :-
For good working of the script you Must run php without safemode
max_execution_time 6000
upload_max_filesize = 200M
post_max_size = 200M
max_input_time 6000M
memory_limit = 128M