Skip to content

aja-x/kmtools-backend

Repository files navigation

Wissen Backend

Installation

Clone project
$ git clone https://github.com/aja-x/kmtools-backend.git

Change directory
$ cd kmtools-backend

Install vendor
$ composer install

Run migration
$ php artisan migrate --seed

Run local server
$ php -S localhost:8000 -t public

Docker

Build
$ docker build . -f deploy/docker/Dockerfile -t your-username/your-image-name

Run
$ docker run -dp 127.0.0.1:8000:80 -it your-username/your-image-name
then check on your browser at 127.0.0.1:8000

Kubernetes

For kubernetes deployment, check file at deploy/k8s/