A reporting system that collects information about abusive Taxi Operators / Drivers. Verified reports are sent to LTFRB's support email.
TaxiComplaints uses open source projects to work properly:
Open your favorite Terminal and run these commands.
-
Clone this repository
$ git clone {this repo} {directory}
-
Change to target directory and run Composer Install
$ cd {directory} $ composer install --no-scripts
-
Change the values for Database, Mail, Facebook sections of
.env
file. See sample below:$ nano .env APP_ENV=development APP_DEBUG=true APP_KEY={somerandomcharshere} DB_HOST={dbhost} DB_DATABASE={dbname} DB_USERNAME={dbuser} DB_PASSWORD={dbpassword} CACHE_DRIVER=file SESSION_DRIVER=file QUEUE_DRIVER=database MAIL_DRIVER=smtp MAIL_HOST={yoursmtphost} MAIL_PORT={yoursmtpport} MAIL_USERNAME={yoursmtpusername} MAIL_PASSWORD={yoursmtppassword} MAIL_ENCRYPTION=tls FB_CLIENT_ID={yourfbappid} FB_CLIENT_SECRET={yourfbclientsecret} FB_REDIRECT_URL={yourfbredirecturl}
-
Download and install required Node.js modules
$ npm install
-
Install Bower globally.
$ sudo npm install -g bower
-
Download and install required Bower modules
$ bower install
-
Update the Users Table Seeder and change default admin and password: line 17 to 21
$ cd {database seeds} $ nano UserTableSeeder.php ... name = Jesus B. Nana, email = xyz@email.com, password = bcrypt(xyzpassword), contact_number = 09171234567, address = Makati City, ... $ cd {backtoprojectroot}
-
Install database migrations
$ php artisan migrate --seed
*If you get an error similar to this:
PHP Warning: require(/taxicomplaints/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /taxicomplaints/bootstrap/autoload.php on line 17
Just run
$ composer update --no-scripts
to fix the problem -
Finally run the application.
$ php artisan serve
This will serve the app to
http://localhost:8000
1.0.0
Jesus B. Nana (@kurapikats)
TaxiComplaints (C) 2015-2018 is available under MIT license.
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.