This is the main repository for Falcon. You should start your journey by cloning this repo and following the instructions in this file.
This repo contains Platform.sh multi-app project. You'll find more info about it at their documentation.
-
Download this repo to your local environment:
git clone [email protected]:systemseed/falcon.git
-
Install Platform.sh CLI:
curl -sS https://platform.sh/cli/installer | php
Don't forget to authenticate after the installation. CLI docs to the rescue.
-
Run bash script
./local-prepare.sh
in the git root to prepare all necessary dependencies & local environment. -
Add the following lines to your hosts file:
127.0.0.1 gifts.flc.local api.flc.local gifts.api.flc.local donations.api.flc.local # FALCON installation
-
Run
docker-compose up -d
. Profit!
http://donations.api.flc.local
docker-compose run fe_gifts sh
./node_modules/.bin/eslint ./src
To shut the environment run docker-compose stop
.