If you wish to update your Landa installation please refer to the documentation at https://simcycreative.com/updating-landa-driving-school-management-system/
For new customers, please refer to the documentation below.
The video below demonstrates Steps 1 to 4. For step 5 onwards continue reading the documentation and more videos included.
NOTE: If you are installing Landa inside a folder for example https://example.com/landa or http://localhost/landa you will need to make a tweak as explained on this article https://simcycreative.com/installing-simcify-web-apps-inside-a-folder/ or checkout the second video below.
Installation is easy and will take less than 3 minutes. lets roll.
1) Copy Files
Unzip the file you downloaded from CodeCanyon, copy the contents in the folder called Landa and paste them in your desired directory where you want to install the system.
If you are installing Landa inside a folder for i.e https://example.com/landa or localhost/landa . Open the routes files in /src/routes.php and check the procedure on the video below or check out this one step then come back. https://simcycreative.com/installing-simcify-web-apps-inside-a-folder/
2) Import Database
When you unzipped the file in step 1, there is a folder called database you will find. In there you will find an SQL file, that is the system database. Import it to your PhPMyAdmin or whatever system you use. Watch this video if you are new to importing SQL databases.
3) .htaccess file
This is a very important file that you will find in the Landa main folder, this file creates the SEO friendly URLs. if you can see it, change your directory setting to show (. files) and if you still can see it you can copy again from your unzipped downloads folder.
4) Edit .env file
On the folder you pasted on your installation folder, you will find a file called .env . This is a very important file that stores system variables. Open the file in a text editor and edit the following lines. The other lines can be edited via the system settings page so don’t worry about them.
5) Email SMTP settings
SMTP settings on the settings page are your email settings, this system depends on them to send important system emails, without them your emails wont work. So please don’t forget to update them. Now you are all set! Have fun 🙂
6) Cron job settings
You need to set a cron job that will be running daily to check for late payments and update missed classes. This is necessary is you have turned payment or class reminders ON. Below is a sample cron job code.
0 0 * * * /usr/local/bin/php -q /home/YOURUSERNAME/public_html/cron.php;
7) Google Calendar Integration
Allowing your students to sync their schedules with Google Calendar is of great advantage to them and instructors as well. To integrate Google Calendar with your Landa installation, please follow the video tutorial below.
Below are important PHP, JS, CSS and PHP files for easy customization.
1) CSS files
Landa uses one main CSS file located in the assets folder. You can edit this file to add your custom styling.
// file path
assets > css > style.css
2) JS files
Landa user two main JS files, the first one is app.js; this file contains system wide js functions for manipulating the DOM. The second one is schedule.js; This file has functions that only work on the scheduling page and performs scheduling functions only.
We have a js framework called simcify.js which has reusable functions like submitting forms, validations and other DOM interactions. You can it’s documentation here https://docs.simcycreative.com/
Landa uses fullcalendar.io for scheduling.
// Edit this to add global scripts that work
on all pages
assets > js > app.js
// Edit this to add scripts that work
assets > js > schedule.js
3) PHP files
Landa uses PHP exclusively for server side coding, all view files are under views folder and included files such as sidebar, header, footer & email templates files are under views/includes folder, controllers and function files are in the src folder.
Landa uses two major PHP librariesPHPMAILER – for sending emails.
PHP SIMPLE ROUTER – for routing
Check composer.json for all PHP libraries used.
If you still need more information about Landa or support please feel free
to get in touch and we will respond as soon as possible.