<!-- A Lumen + MariaDB RESTful truck commerce site server. Copyright (C) 2016 Ryan Y. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. -->
This project implements a scenario for a truck-oriented website built in PHP
This application uses Docker to easily test and deploy the application.
You need at least PHP, Composer, Docker and Docker Compose on a server to
run this REST server. Use
composer install locally, then run
up -d to start it.
You will need to run migrations and seeds manually. You will need to copy the
.env.example file to
.env and configure it so you can use your production
settings before you migrate. You can migrate inside the container by using
docker-compose run server php /srv/http/artisan migrate once it's up and
running. You can seed the database by running
docker-compose run server php /srv/http/artisan db:seed as well.