Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy deployment #42

Open
prhod opened this issue Jul 10, 2018 · 2 comments
Open

Easy deployment #42

prhod opened this issue Jul 10, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@prhod
Copy link
Collaborator

prhod commented Jul 10, 2018

For the moment, deployment is made my manually change de config files :

  • web/vapour-style.json : config of the layer
  • web/glstyle.json : link to the sprite
  • settings/trex.toml : base URL for tiles
  • docker-compose.yml : traefik infos
    It could be great to have a more update friendly deploy system
@frodrigo
Copy link
Collaborator

The static builder already make this.
We should split it to keep the interesting part.

@nlehuby
Copy link
Member

nlehuby commented Aug 23, 2018

I'd rather use env variables to store this config.

Docker-compose even has a smart process to override env variables for each deployment environement.

We may need to make some evolution in t-rex to handle config as env var. And as a static web page doesn’t have access to env variables, we will still need to pre-generate the frontend files to add appropriate config.

@frodrigo frodrigo added the enhancement New feature or request label Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants