Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

Latest commit

 

History

History
53 lines (38 loc) · 1.59 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.59 KB

CircleCI

Installation

  1. Install Docker

    You need to install Docker and Docker-compose. See https://docs.docker.com/install/ for details.

  2. (Optional) Install Platform.sh CLI

    You need to install and authenticate the Platform.sh CLI. See https://docs.platform.sh/gettingstarted/cli.html for details.

  3. Add the following lines to your hosts file:

    127.0.0.1 gifts.flc.local
    127.0.0.1 main.flc.local
    127.0.0.1 api.flc.local
    127.0.0.1 gifts.api.flc.local
    127.0.0.1 pma.gifts.api.flc.local
    127.0.0.1 donations.api.flc.local
    127.0.0.1 pma.donations.api.flc.local
    
  4. Download this repository to your local environment:

    git clone [email protected]:systemseed/falcon.git
    
  5. Make local environment

  • Installation from config profile

    Open command line terminal, navigate to project root and run make install-config. If you want to adjust local environment settings then first run make down and review the .env and .docker/docker-compose.override.yml files. After that run make install-config.

  • Installation from DB dump

    Use the make install-db command instead of make install-config.

    Then you can stop your work by running make stop and continue by running make up. To remove all the containers you can run make down.

Running ESLint for FrontEnd apps

docker-compose run fe_gifts sh
./node_modules/.bin/eslint ./src