This repository is a backend server code for Media Headlines Storage System which is work in progress. The system is that I am personally developing.
This system is composed of Backend Server and Frontend System. The Frontend System is also work in progress.
I think to build the system following;
- Store Meta information such as title and headlines of Text media, Sound medias, Network Links.
- I want to connect each other to make my own collaborative filtering sort of environment.
Run following commands to install.
git clone https://github.com/flipfrog/headline-storage-api.git
cd headline-storage-api
then, install sail environment.
composer install
cp .env.example .env
php artisan sail:install
choose a database system.
then, make up docker containers.
./vendor/bin/sail up -d
waiting to start up docker containers.
then, migrate database tables.
./vendor/bin/sail artisan migrate
If your operating system has make command, you can use a Makefile to control docker containers using make command.
- To control containers,
make up
,make down
. - To run migration,
make migrate
. - To run shell,
make sh
. - To run test,
make test