Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
installation [2015/12/04 02:17] luchothoma |
installation [2016/12/30 18:42] (actual) |
||
---|---|---|---|
Línea 1: | Línea 1: | ||
==== INSTALLATION ==== | ==== INSTALLATION ==== | ||
+ | |||
**Step 1 - Download** | **Step 1 - Download** | ||
- | The first step is to download from [[https://github.com/luchothoma/salem]] and upload the files to your server. In the main folder only keep the file index.php, in the application folder, you can delete all the items inside folders(helpers,orm,models,controller,views) or maybe it(what it has) will be useful as example. | + | The first step is to download from [[https://github.com/luchothoma/salem]] and upload the files to your server. In the main folder only keep the file index.php and .htaccess, in the application folder, you can delete all the items inside folders(helpers,orm,models,controller,views) or maybe it(what it has) will be useful as example. |
**Step 2 - Basic Config** | **Step 2 - Basic Config** | ||
Línea 8: | Línea 9: | ||
---- | ---- | ||
+ | <code php | config.php> | ||
// Application's Base URL | // Application's Base URL | ||
define('BASE_URL','http://dominio.com/'); // or http://localhost/yourFolder/ | define('BASE_URL','http://dominio.com/'); // or http://localhost/yourFolder/ | ||
Línea 16: | Línea 17: | ||
//Syntax for your local timezone can be found at | //Syntax for your local timezone can be found at | ||
//http://www.php.net/timezones | //http://www.php.net/timezones | ||
- | |||
date_default_timezone_set('America/New_York'); | date_default_timezone_set('America/New_York'); | ||
Línea 24: | Línea 24: | ||
// Auto Load Helpers | // Auto Load Helpers | ||
config::set('autoload_helper',array()); | config::set('autoload_helper',array()); | ||
+ | </code> | ||
---- | ---- | ||
Línea 33: | Línea 33: | ||
**Step 3 - Database** | **Step 3 - Database** | ||
If you are going to be using a database in your application, you will need to open up application/config/db.php and change the driver, host, username, and password information in the db array. For more info on this, see [[dbConfiguration|Database Configuration]]. | If you are going to be using a database in your application, you will need to open up application/config/db.php and change the driver, host, username, and password information in the db array. For more info on this, see [[dbConfiguration|Database Configuration]]. | ||
+ | ---- | ||
+ | [[documentation|Go back to Documentation]]. |