Repository for the PlaneBox API. This API is a part of the CSC450 Software Engineering course.
Developers:
- Mohammed Alotaib
- Matthew Higgins
- Frederick Lawler
- Christopher Weddle
- Dan West
The following software is required to optimally install this API on a machine.
- MySQL
- Apache2
- PHP5.5 (or greater)
-
Clone repository into desired location on your machine
-
Setup a MySQL Database
-
Download and Install Composer
- Follow install instructions here it is recommended to install composer globally on your machine
-
Run
composer install
within the root directory of the project. -
Configure an Apache2 vhost and point it to the directory where this repository was cloned into.
- NOTE: The document root should be pointed to the path
/path/to/project/plublic
- NOTE: The document root should be pointed to the path
-
Read Laravel’s Environment Configuration
- There is a file called
.evn-example
that should be copied to.env
and setup configuration options for the Database. Located in the root directory. - If you need an app-key, type
php artisan key:generate
to get a key for the application
- There is a file called
-
Run
php artisian migrate
to install/setup the database- To create an administrator account, create an account through the PlaneBox app, and set the flag in the database for the
admistrator
column to 1.
- To create an administrator account, create an account through the PlaneBox app, and set the flag in the database for the
-
Done
This API was built with Laravel. In addition to following the install instructions, the Laravel documentation must be read as well.
PlaneBox (c) by Frederick Lawler, Dan West, Mohammed Alotaibi, Matthew Scott, Christopher Weddle
PlaneBox is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
You should have received a copy of the license along with this work. If not, see http://creativecommons.org/licenses/by-nc-nd/3.0/.
Creative Commons Legal Code
Attribution-NonCommercial-NoDerivs 3.0 Unported
Laravel falls under the MIT License