HotMaps / Hotmaps-toolbox-service

Apache License 2.0
5 stars 3 forks source link

setup development and production environement #3

Open lesly-houndole opened 6 years ago

lesly-houndole commented 6 years ago

Today, the development and production environments are the same hence it's not possible to guaranty that the code is correct at an instant T. I remind you that the production server must contain essentially what has been validated by the quality service of Hotmaps. We recently had the case of Thierry (quality department) who had validated that the calculations were good in production and a week later, it was no longer, this is not viable, we must control our development and apply rigorously the GIT guidelines define in the project. In a development process, there must be at least two environments, development and production, for more security, there should also be a staging environment.

29axe commented 6 years ago

As we discussed, I might add a dev container (in parallel of the toolbox-service) to isolate the development from the demo platform. Keep in mind that the advantage of using docker is that you can run the whole platform localy while developing. So we will duplicate all the services/modules accordingly, except the database that won't see any risky changes.