/intranet

리디주식회사 인트라넷

Primary LanguagePHP

Ridibooks Intranet

Build Status Join the chat at https://gitter.im/ridibooks/intranet

Settings

  1. Run make command from project's root directory.

  2. Write a .env (See .env.sample)

Run

with PHP Built-in server

  1. Run php -S localhost:8000 -t `web`
  2. Open http://localhost:8000

with Docker

  1. Run make run-docker or docker run -d --name ridi-intranet -p 8000:80 -v `pwd`:/var/www/html --env-file .env ridibooks/intranet
  2. Open http://localhost:8000

Deploy DB schemas

with Phinx

  1. Write Phinx configuration. (reference)
$EDITOR phinx.yml
  1. Run make deploy-db