c2corg / v6_api

REST API for https://www.camptocamp.org
GNU Affero General Public License v3.0
22 stars 26 forks source link

[WIP] Refactor the Makefile #1769

Open BboyKeen opened 8 months ago

BboyKeen commented 8 months ago

This PR brings in a new Makefile structure to offer a simpler development environment. For the sake of simplicity and readibility, I purposefully used the Makefile as a task runner and removed almost all rules dependencies.

It introduces two Makefiles : one for the local environment and the other to build the production container.

Instead of relying on config files, we now rely on default env files. I introduced a possibility to override defaults by using a config/env.local which will be automatically read by the Makefile.


This PR depends on #1767 and on #1768