Occupy.net Classifieds Development

Contents

[edit] Setting up local install

Read the JobberBase Wiki guide for apache for more information.

[edit] Clone code from

Interchange Git repo

[edit] Database Setup

Create a new database and import db/jobberbase.sql

[edit] Add directories

Make sure that the following folders have write permission:

  • /uploads (uploaded resumes are temporarily stored here)
  • /_templates/<YourTheme>/_cache (smarty cache) - by default, YourTheme is a folder called default
  • /admin/_templates/_cache (smarty cache)

[edit] Configure Environment

You'll need to change the "app_url" value in _config/config.envs.php

$__instances['local'] = array(
 // should be a unique part of the url (or the entire url if you wish)
 'prefix' => 'localhost',
 // mysql credentials
 'db_host' => 'localhost',
 'db_port' => 3306,
 'db_user' => 'root',
 'db_password' => '',
 'db_name' => 'jobberbase',
 'db_prefix' => '',
 // your site's full url
 'app_url' => 'http://localhost/jobberbase/trunk/public/',
 // error reporting
 'ini_error_reporting' => E_ALL,
 'ini_display_errors' => 'On',
 // environment setting 1 (use 'local' for localhost/testing OR 'online' for live, production environment)
 'location' => 'local',
 // environment setting 2 (use 'dev' together with 'local' in the previous setting OR 'prod' with 'online')
 'environment' => 'dev',
 //use 'apache_mod_rewrite' for Apache hosting or 'iis_url_rewrite', 'iis_isapi_rewrite' for IIS hosting
 'rewrite_mode' => 'apache_mod_rewrite'
);
 
Brought to you by OCCUPY TECH