Get Started - aalfiann/reSlim GitHub Wiki
Getting Started
I. Installation
-
Get or download the project
-
Extract then rename folder reSlim-master to reslim
-
Open shell or CMD then go to src folder
cd reslim/src
-
Install it using Composer
composer install
-
Done
II. Connection Database
-
Create Database name reslim in your MySQL/MariaDB
-
Execute or restore reSlim.sql which is located at resources/database/ folder
-
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
-
Done
III. Test
- 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
- Upload all files inside folder src to your server
- Backup local database and then restore to your server database online
- Done