mohbadar / herams-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

who-herams

codecov Deploy to staging

Set up developer environment

Requirements

  • Git must be available

Steps

  1. Get Docker
  2. Get Docker Compose
  3. Run the following commands:
git clone git@github.com:WorldHealthOrganization/herams-backend.git
cd herams-backend
cp .env.default .env
  1. Optionally alter .env to suit your preferences, it is recommended to set UID and GID to prevent permission issues
  2. Run docker-compose up serve

Result

After taking the above steps you will have everything up and running:

  • A database with username root and password secret, and a user / password / database combo from your .env file.
  • An application with (invalid) email: root and password: secret
  • A mailcatcher allowing you to inspect mails sent by the system

Commands available

We expose a number of commands via docker-compose:

  • docker-compose run --rm composer will run composer, use this to install / update dependencies.
  • docker-composer run --rm codeception will run the test suite

About


Languages

Language:HTML 55.4%Language:PHP 35.7%Language:CSS 6.8%Language:JavaScript 1.9%Language:Dockerfile 0.1%Language:Shell 0.1%Language:Hack 0.0%