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
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
.
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
.
docker-compose run fe_gifts sh
./node_modules/.bin/eslint ./src