hiqdev/hifile-api

HiFile file server API

dev-master 2018-06-20 18:40 UTC

README

HiFile file server API

Latest Stable Version Total Downloads Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Dependency Status

Installation

Initialization

Find your root project: transmedia/file.api.screens.media in my case.

Fetch the root project with git and install it with composer:

git clone git@git.hiqdev.com:transmedia/file.api.screens.media
cd file.api.screens.media
composer install

Setup environment variables: copy and tune .env.example file. There aren't many options there, check and set all of them thouroughly.

cp .env.example .env
vim .env

After changing environment variables refresh config with:

composer dump

Docker stuff

Start with docker-compose:

docker-compose up

Or enable in systemd with provided unit file: file.api.screens.media.service.

Initialize DB

Run migrations:

hidev migrate/up

License

This project is released under the terms of the BSD-3-Clause license. Read more here.

Copyright © 2018, HiQDev (http://hiqdev.com/)