Server Requirements

Laundromart was developed using CodeIgniter 4.1.3. It requires a minimum PHP version of 7.2.

Installation

Laundromart can be installed using 2 methods. choose your favorite method from the list below.

One - Click Installer:

  • Extract the files to your server
  • Visit your domain/install. for example, http://example.com/install
  • Fill in the appropriate data into your form to complete the installation
  • Once installation is completed, Delete the installer folder in app\controllers\installer. this is neccessary for security purposes.

Manual Installation

This requires you to have command line access
  • Extract the files to your server
  • Open .env file in your root folder
    • Set your website Url (line 23)
    • Set your TimeZone (line 24)
    • To force all connection through https, uncomment and set app.forceGlobalSecureRequests to true (line 26)
    • Set your database connection details (line 42 - 46)
    • set your encryption key (line 96)
    • set installer.finish to true (line 133)
  • Open Command prompt in your root folder and run the following commands
    • php spark migrate - this command creates all the neccessary database tables
    • php spark db:seed AppSettingsSeed - this command creates all the neccessary settings data
    • php spark db:seed PaymentGatewaySeed - this command creates all the neccessary setup data for payment gateways
    • php spark db:seed PermissionSeed - this command creates all the neccessary setup data for roles - permission system
    • The following commands are optional
    • php spark db:seed SuperAdminSeed - This command creates the SuperAdmin. the default login data is superadmin@admin.com; 123456789
      You should change this default login before running this command, head over to App\Database\Seeds\SuperAdminSeed.php to do so.
    • php spark db:seed UserSeed - This command generates 10 random user. the default password for generated users is 123456789
      To change the number of users generated or the default password, head over to App\Database\Seeds\UserSeed.php to do so before running the command.
    • php spark db:seed PagesSeed - this command creates default pages like About Us, Privacy Policy and Terms and Conditions. The pages can be edited from Admin Dashboard Later.
    • php spark db:seed PlansSeed - This command creates some preset Subscription Plans. The Plans can be updated from Admin Dashboard.
    • php spark db:seed ProductsSeed
      php spark db:seed ProductsServicesSeed
      php spark db:seed ProductsServicesPricesSeed
      - This three commands creates some preset Products, Product Services, and Pricing for each product-service combination.
      They are dependent on data from each other and they should be run in the order in which they apper here.
    • Once installation is completd, Delete the installer folder in app\controllers\installer. this is neccessary for security purposes.

Congratulations, Your installation have been completed!!!

Now head over to your new platform.