0% found this document useful (0 votes)
106 views2 pages

Thinkin Cab Web Installation Documentation

This document provides prerequisites and instructions for setting up the Thinkin Cab application on a server. It outlines requirements such as having a LAMP stack with Ubuntu 16.04/18.04, Apache 2.4.25+, MySQL 5.7+, and PHP 7.2+ installed. Additional steps include obtaining a domain name and SSL certificate, installing Composer, editing the .env file with database and mail credentials, running Composer and migration commands, and accessing the admin panel.

Uploaded by

Pesen Indonesia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views2 pages

Thinkin Cab Web Installation Documentation

This document provides prerequisites and instructions for setting up the Thinkin Cab application on a server. It outlines requirements such as having a LAMP stack with Ubuntu 16.04/18.04, Apache 2.4.25+, MySQL 5.7+, and PHP 7.2+ installed. Additional steps include obtaining a domain name and SSL certificate, installing Composer, editing the .env file with database and mail credentials, running Composer and migration commands, and accessing the admin panel.

Uploaded by

Pesen Indonesia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PREREQUISITES

Before setting up Thinkin Cab, we need the server to have the following prerequisite software’s or frameworks in your
server to build a conceivable environment.

Get Laravel server from this link in no time https://www.cloudways.com/en/?id=315139 and use “
TDRAGON ” to get 10% off on server billing
*min requirement 1 GB digital ocean server min requirement for testing

New to Laravel follow these link


https://laravel.com/
https://www.cloudways.com/blog/install-laravel-on-server/
https://support.cloudways.com/deploy-laravel-on-cloudways/

for digital ocean cloud server of server provider have ubuntu server
1. LAMP Stack:
Note: We don’t recommend Cpanel or shared hosting, run only in the dedicated server or cloud server
The server environment should have a Linux Operating System with Apache Server and MySQL database, PHP server
scripting language.

The following are the compatible versions of the LAMP stack


a. Linux - Ubuntu - 18.04 or 16.04 (LTS is Preferred) or Equivalent
b. Apache >= 2.4.25
c. MySQL >= 5.7
d. PHP >= 7.2

Additional PHP Modules required.


1. OpenSSL PHP Extension
2. PDO PHP Extension
3. Mbstring PHP Extension
4. Tokenizer PHP Extension
5. XML PHP Extension Apache modules
6. Rewrite Module
2. Domain Name:
It is recommended that you get a domain name and an SSL certificate for the same for our application to work with full
functionality.

3. SSL Certificate: (free in Cloudways)


To maintain compatibility of the application across the web app along with live tracking you need to have an SSL certificate
to fetch the user location from the browser.

4. Composer: https://getcomposer.org/
Composer is required to download the dependencies for the application.
INSTALLATION
1. Unzip the code in the server.
2. Set the following permissions
a. sudo chgrp -R www-data storage bootstrap/cache public
b. sudo chmod -R ug+rwx storage bootstrap/cache public
To the following folders
c. ./bootstrap
d. ./storage
e. ./public
3. Now edit the .env file in app root folder

DB_HOST = localhost (Provide Database host URL here)


DB_PORT = 3306 (Provide Database port here)
DB_DATABASE = xuber (Provide the Database name from step-5)
DB_USERNAME = root (Database username)
DB_PASSWORD = (Database password)
For mail delivery integration using gmail, If you use other mail providers, please get the
details below by contacting them
MAIL_DRIVER = smtp
MAIL_HOST = smtp.gmail.com
MAIL_PORT = 587
MAIL_USERNAME = (Provide your gmail username) MAIL_PASSWORD = (Provide your gmail
password)
MAIL_ENCRYPTION = tls
To integrate Google Maps in the app you’ll have to create an API key GOOGLE_API_KEY =
your_google_maps_api_key

4. Run the following commands to complete setup


a. composer install
b. npm install
c. php artisan key:generate
d. php artisan migrate --seed
e. php artisan storage:link
f. php artisan passport:install

5. By now the application should be live and ready for testing.


6. You can reach the admin panel from this URL yourdomain.com/admin/login
a. Default admin credentials are
Username: [email protected] Password: 123456
7. You’ll also have demo accounts to access the user and Driver app, which you might like to disable while moving
the application to production check the admin panel for all details

You might also like