Skip to content

kostaspt/domane

Repository files navigation

Domane

Api Client Server

How to run locally

Requirements:

You'll need to create an .env file. This file will contain any environment variables needed for it to run locally. There is already a .env.example file with all the needed values you'll need.

Additionally, you'll need to set up a domain name locally for the app to resolve. To do so, add these values to your hosts file.

127.0.0.1   domane.localhost
127.0.0.1   grafana.domane.localhost     # Optional
127.0.0.1   prometheus.domane.localhost  # Optional

Be careful: If in the you've changed the DOMAIN variable in .env file, you should use that instead of domane.localhost.

Once everything is set, run:

$ docker-compose up -d --build --force-recreate --remove-orphans

# Alternative, for unix with `make` installed:
$ make