Get Started - aalfiann/reSlim GitHub Wiki

Getting Started

I. Installation

  1. Get or download the project

  2. Extract then rename folder reSlim-master to reslim

  3. Open shell or CMD then go to src folder

    cd reslim/src
    
  4. Install it using Composer

    composer install
    
  5. Done

II. Connection Database

  1. Create Database name reslim in your MySQL/MariaDB

  2. Execute or restore reSlim.sql which is located at resources/database/ folder

  3. Edit config.php which is located at src/ folder
    Just only this part,

    $config['db']['host']   = 'localhost';
    $config['db']['user']   = 'root';
    $config['db']['pass']   = 'root';
    $config['db']['dbname'] = 'reSlim';
    

    You can set the rest config later

  4. Done

III. Test

  1. Open your browser and visit >> http://localhost:1337/reslim/src/api/

Note: - My apache server is run on port 1337.

IV. Development

How to create new app or modules?
You can learn from documentation here >> Tutorial Create Module.
Or learn directly from this very simple project on Github.com.

V. Deployment

  1. Upload all files inside folder src to your server
  2. Backup local database and then restore to your server database online
  3. Done