-
Install Docker
You need to install Docker and Docker-compose. See https://docs.docker.com/install/ for details.
-
(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.
-
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
-
Download this repository to your local environment:
git clone git@github.com:systemseed/falcon.git
-
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 runmake down
and review the.env
and.docker/docker-compose.override.yml
files. After that runmake install-config
. -
Installation from DB dump
Use the
make install-db
command instead ofmake install-config
.Then you can stop your work by running
make stop
and continue by runningmake up
. To remove all the containers you can runmake down
.
docker-compose run fe_gifts sh
./node_modules/.bin/eslint ./src